@@ -23,7 +23,7 @@ def test_neg(self, even_chems):
2323 mass_spec = IndependentMassSpectrometer (NEGATIVE , even_chems )
2424 N = 10
2525 controller = TopNController (NEGATIVE , N , 0.7 , 10 , 15 , 0 , force_N = True )
26- env = Environment (mass_spec , controller , 200 , 300 , progress_bar = True )
26+ env = Environment (mass_spec , controller , 200 , 300 , progress_bar = False )
2727 run_environment (env )
2828
2929 for level in controller .scans :
@@ -55,7 +55,7 @@ def test_TopN_forceN(self, ten_chems):
5555 mass_spec = IndependentMassSpectrometer (POSITIVE , ten_chems )
5656 N = 20
5757 controller = TopNController (POSITIVE , N , 0.7 , 10 , 15 , 0 , force_N = True )
58- env = Environment (mass_spec , controller , 200 , 300 , progress_bar = True )
58+ env = Environment (mass_spec , controller , 200 , 300 , progress_bar = False )
5959 run_environment (env )
6060
6161 all_scans = controller .scans [1 ] + controller .scans [2 ]
@@ -93,7 +93,7 @@ def test_TopN_controller_with_simulated_chems(self, fragscan_dataset):
9393 min_bound , max_bound = get_rt_bounds (fragscan_dataset , CENTRE_RANGE )
9494
9595 # create an environment to run both the mass spec and controller
96- env = Environment (mass_spec , controller , min_bound , max_bound , progress_bar = True )
96+ env = Environment (mass_spec , controller , min_bound , max_bound , progress_bar = False )
9797 run_environment (env )
9898
9999 # check that there is at least one non-empty MS2 scan
@@ -123,7 +123,7 @@ def test_TopN_controller_with_simulated_chems_and_noise(self, fragscan_dataset):
123123 min_bound , max_bound = get_rt_bounds (fragscan_dataset , CENTRE_RANGE )
124124
125125 # create an environment to run both the mass spec and controller
126- env = Environment (mass_spec , controller , min_bound , max_bound , progress_bar = True )
126+ env = Environment (mass_spec , controller , min_bound , max_bound , progress_bar = False )
127127 run_environment (env )
128128
129129 # check that there is at least one non-empty MS2 scan
@@ -148,7 +148,7 @@ def test_TopN_controller_with_beer_chems(self):
148148 MIN_MS1_INTENSITY )
149149
150150 # create an environment to run both the mass spec and controller
151- env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND , progress_bar = True )
151+ env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND , progress_bar = False )
152152 run_environment (env )
153153
154154 # check that there is at least one non-empty MS2 scan
@@ -179,7 +179,7 @@ def test_TopN_controller_with_beer_chems_and_scan_duration_dict(self):
179179 MIN_MS1_INTENSITY )
180180
181181 # create an environment to run both the mass spec and controller
182- env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND , progress_bar = True )
182+ env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND , progress_bar = False )
183183 run_environment (env )
184184
185185 # check that there is at least one non-empty MS2 scan
@@ -225,7 +225,7 @@ def test_TopN_controller_advanced_params(self):
225225 MIN_MS1_INTENSITY , advanced_params = params )
226226
227227 # create an environment to run both the mass spec and controller
228- env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND , progress_bar = True )
228+ env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND , progress_bar = False )
229229 run_environment (env )
230230
231231 # check that some of the scan parameters returned are actually what we set
@@ -279,7 +279,7 @@ def test_TopN_controller_with_simulated_chems(self, fragscan_dataset):
279279 min_bound , max_bound = get_rt_bounds (fragscan_dataset , CENTRE_RANGE )
280280
281281 # create an environment to run both the mass spec and controller
282- env = Environment (mass_spec , controller , min_bound , max_bound , progress_bar = True )
282+ env = Environment (mass_spec , controller , min_bound , max_bound , progress_bar = False )
283283 run_environment (env )
284284
285285 # check that there is at least one non-empty MS2 scan
@@ -307,7 +307,7 @@ def test_positive_fixed(self):
307307 ms = IndependentMassSpectrometer (POSITIVE , dataset )
308308 controller = TopNController (POSITIVE , N , isolation_width , mz_tol , rt_tol ,
309309 MIN_MS1_INTENSITY )
310- env = Environment (ms , controller , 102 , 110 , progress_bar = True )
310+ env = Environment (ms , controller , 102 , 110 , progress_bar = False )
311311 set_log_level_warning ()
312312 env .run ()
313313 ms1_mz_vals = [int (m ) for m in controller .scans [1 ][0 ].mzs ]
@@ -338,7 +338,7 @@ def test_negative_fixed(self):
338338 ms = IndependentMassSpectrometer (NEGATIVE , dataset )
339339 controller = TopNController (NEGATIVE , N , isolation_width , mz_tol , rt_tol ,
340340 MIN_MS1_INTENSITY )
341- env = Environment (ms , controller , 102 , 110 , progress_bar = True )
341+ env = Environment (ms , controller , 102 , 110 , progress_bar = False )
342342 set_log_level_warning ()
343343 env .run ()
344344 ms1_mz_vals = [int (m ) for m in controller .scans [1 ][0 ].mzs ]
@@ -372,7 +372,7 @@ def test_multiple_adducts(self):
372372 # some adducts might not be sampled if the probability is less than 0.2
373373 controller = SimpleMs1Controller ()
374374 ms = IndependentMassSpectrometer (POSITIVE , dataset )
375- env = Environment (ms , controller , 102 , 110 , progress_bar = True )
375+ env = Environment (ms , controller , 102 , 110 , progress_bar = False )
376376 set_log_level_warning ()
377377 env .run ()
378378 for scan in controller .scans [1 ]:
@@ -397,7 +397,7 @@ def test_TopN_controller_with_beer_chems_and_initial_exclusion_list(self):
397397 MIN_MS1_INTENSITY ,
398398 initial_exclusion_list = initial_exclusion_list )
399399 env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND ,
400- progress_bar = True )
400+ progress_bar = False )
401401 run_environment (env )
402402
403403 mz_intervals = list (controller .exclusion .exclusion_list .boxes_mz .items ())
@@ -438,7 +438,7 @@ def test_exclusion_simple_data(self):
438438 controller = TopNController (ionisation_mode , N , isolation_width , mz_tol , rt_tol ,
439439 min_ms1_intensity ,
440440 initial_exclusion_list = initial_exclusion_list )
441- env = Environment (mass_spec , controller , 0 , 20 , progress_bar = True )
441+ env = Environment (mass_spec , controller , 0 , 20 , progress_bar = False )
442442 run_environment (env )
443443
444444 mz_intervals = list (controller .exclusion .exclusion_list .boxes_mz .items ())
@@ -480,7 +480,7 @@ def test_TopN_controller_with_beer_chems(self):
480480
481481 # create an environment to run both the mass spec and controller
482482 env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND ,
483- progress_bar = True )
483+ progress_bar = False )
484484 run_environment (env )
485485
486486 # check that there is at least one non-empty MS2 scan
@@ -517,7 +517,7 @@ def test_WeightedDEW_controller_with_beer_chems(self):
517517
518518 # create an environment to run both the mass spec and controller
519519 env = Environment (mass_spec , controller , BEER_MIN_BOUND , BEER_MAX_BOUND ,
520- progress_bar = True )
520+ progress_bar = False )
521521 run_environment (env )
522522
523523 # check that there is at least one non-empty MS2 scan
0 commit comments