Skip to content

Commit 711f769

Browse files
committed
Fix test_segmentedmzcalibration by specifiying calibration parameters within test
1 parent 1dc2165 commit 711f769

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_calibration2.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ def test_autorecalibration(mass_spectrum_ftms, ref_file_location):
6464
def test_segmentedmzcalibration(mass_spectrum_ftms, ref_file_location):
6565
# Tests profile mode recalibration
6666
mass_spectrum_ftms.filter_by_noise_threshold()
67+
mass_spectrum_ftms.parameters.mass_spectrum.min_calib_ppm_error = -5
68+
mass_spectrum_ftms.parameters.mass_spectrum.max_calib_ppm_error = 5
6769

6870
# Check that mass_spectrum_ftms has not been calibrated
6971
assert set(mass_spectrum_ftms.mz_cal) == {None}

0 commit comments

Comments
 (0)