Skip to content

Commit

Permalink
allow the calibration_pipeline to work also for the lstchain scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
marialainez committed Nov 13, 2024
1 parent 28bb52a commit cbc5a58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/osa/scripts/calibration_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def drs4_pedestal_command(drs4_pedestal_run_id: int) -> list:
command = cfg.get("lstchain", "drs4_baseline")
return [
command,
f"--run-number={drs4_pedestal_run_id}",
f"--base-dir={base_dir}",
"-r", drs4_pedestal_run_id,
"-b", base_dir,
"--no-progress",
]

Expand All @@ -59,9 +59,9 @@ def calibration_file_command(drs4_pedestal_run_id: int, pedcal_run_id: int) -> l
command = cfg.get("lstchain", "charge_calibration")
cmd = [
command,
f"--pedestal-run={drs4_pedestal_run_id}",
f"--run-number={pedcal_run_id}",
f"--base-dir={base_dir}",
"-p", drs4_pedestal_run_id,
"-r", pedcal_run_id,
"-b", base_dir,
]
# In case of problems with trigger tagging:
if cfg.getboolean("lstchain", "use_ff_heuristic_id"):
Expand Down

0 comments on commit cbc5a58

Please sign in to comment.