Pull request #1970: PIPE-3240.
Merge in PIPE/pipeline from PIPE-3240-fixes-to-extern-code-tsys_contamination to main
* commit 'c7fb9fc782c4403fad4e2dea6c8ec0b94f4bf205': PIPE-3240: Fix mp.min typo and handle empty peak prominences in model_break PIPE-3240. Apply the three changes in the ticket description.