diff --git a/CEP/Pipeline/recipes/sip/bin/msss_calibrator_pipeline.py b/CEP/Pipeline/recipes/sip/bin/msss_calibrator_pipeline.py index b2b15b29f1604ce2938440a642eafbd098f6af8d..1a30f32d1974b467e9cb002d1064e0f63d1a5507 100755 --- a/CEP/Pipeline/recipes/sip/bin/msss_calibrator_pipeline.py +++ b/CEP/Pipeline/recipes/sip/bin/msss_calibrator_pipeline.py @@ -289,8 +289,9 @@ class msss_calibrator_pipeline(control): # Swapping outliers in the gains with the median # Export the calibration solutions using gainoutliercorrection and store # the results in the files specified in the instrument mapfile. - export_instrument_model = eval(py_parset.getString( - 'Calibration.export_instrument_model')) + export_instrument_model = py_parset.getBool( + 'Calibration.exportCalibrationParameters', False) + with duration(self, "gainoutliercorrection"): self.run_task("gainoutliercorrection", (parmdb_mapfile, instrument_mapfile),