diff --git a/src/osa/scripts/calibration_pipeline.py b/src/osa/scripts/calibration_pipeline.py index c18508a0..893f7eab 100644 --- a/src/osa/scripts/calibration_pipeline.py +++ b/src/osa/scripts/calibration_pipeline.py @@ -47,20 +47,19 @@ def drs4_pedestal_command(drs4_pedestal_run_id: int) -> list: command = cfg.get("lstchain", "drs4_baseline") return [ command, - "-r", drs4_pedestal_run_id, + "-r", str(drs4_pedestal_run_id), "-b", base_dir, "--no-progress", ] - def calibration_file_command(drs4_pedestal_run_id: int, pedcal_run_id: int) -> list: """Build the create_calibration_file command.""" base_dir = Path(cfg.get("LST1", "BASE")).resolve() command = cfg.get("lstchain", "charge_calibration") cmd = [ command, - "-p", drs4_pedestal_run_id, - "-r", pedcal_run_id, + "-p", str(drs4_pedestal_run_id), + "-r", str(pedcal_run_id), "-b", base_dir, ] # In case of problems with trigger tagging: