Skip to content

Commit

Permalink
Merge pull request #285 from cta-observatory/gainsel
Browse files Browse the repository at this point in the history
Fix comment in gain_selection script
  • Loading branch information
morcuended authored Apr 17, 2024
2 parents e589deb + 5600e21 commit 93c7118
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/osa/scripts/gain_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,8 @@ def apply_gain_selection(date: str, start: int, end: int, output_basedir: Path =
log.info(f"Found {len(calib_runs)} NO-DATA runs")

for run in calib_runs:
log.info(f"Copying R0 files corresponding to run {run} directly to {output_dir}")
run_id = run["run_id"]
log.info(f"Copying R0 files corresponding to run {run_id} directly to {output_dir}")
# Avoid copying files while it is still night time
wait_for_daytime(start, end)

Expand Down

0 comments on commit 93c7118

Please sign in to comment.