2020from osa .utils .cliopts import calibration_pipeline_cliparsing
2121from osa .utils .logging import myLogger
2222from osa .workflow .stages import DRS4PedestalStage , ChargeCalibrationStage
23- from osa .utils .utils import get_lstchain_version
2423
2524__all__ = [
2625 "calibration_sequence" ,
@@ -47,30 +46,25 @@ def drs4_pedestal_command(drs4_pedestal_run_id: int) -> list:
4746 base_dir = Path (cfg .get ("LST1" , "BASE" )).resolve ()
4847 r0_dir = Path (cfg .get ("LST1" , "R0_DIR" )).resolve ()
4948 command = cfg .get ("lstchain" , "drs4_baseline" )
50- prod_id = get_lstchain_version ()
5149 return [
5250 command ,
5351 "-r" , str (drs4_pedestal_run_id ),
5452 "-b" , base_dir ,
5553 f"--r0-dir={ r0_dir } " ,
5654 "--no-progress" ,
57- "-v" ,prod_id ,
5855 ]
5956
6057def calibration_file_command (drs4_pedestal_run_id : int , pedcal_run_id : int ) -> list :
6158 """Build the create_calibration_file command."""
6259 base_dir = Path (cfg .get ("LST1" , "BASE" )).resolve ()
6360 r0_dir = Path (cfg .get ("LST1" , "R0_DIR" )).resolve ()
6461 command = cfg .get ("lstchain" , "charge_calibration" )
65- prod_id = get_lstchain_version ()
6662 cmd = [
6763 command ,
6864 "-p" , str (drs4_pedestal_run_id ),
6965 "-r" , str (pedcal_run_id ),
7066 "-b" , base_dir ,
7167 f"--r0-dir={ r0_dir } " ,
72- "-v" ,prod_id ,
73-
7468 ]
7569 # In case of problems with trigger tagging:
7670 if cfg .getboolean ("lstchain" , "use_ff_heuristic_id" ):
0 commit comments