Skip to content

Commit 8811cdf

Browse files
authored
Merge pull request #356 from cta-observatory/fix-fstring
Add necessary f-string
2 parents 2bce136 + 0d182ad commit 8811cdf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/osa/scripts/gain_selection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,10 +224,10 @@ def launch_gainsel_for_data_run(
224224
else:
225225
log.warning(f"Gain selection failed for run {run_id:05d}.{subrun:04d}")
226226
elif gainsel_rc == "0":
227-
log.debug(f"Gain selection finished successfully for run {run_id:05d}.{subrun:04d},"
227+
log.debug(f"Gain selection finished successfully for run {run_id:05d}.{subrun:04d}, "
228228
"no additional jobs will be submitted for this subrun.")
229229
else:
230-
log.debug("Creating and launching the gain selection sbatch script for subrun {run_id:05d}.{subrun:04d}")
230+
log.debug(f"Creating and launching the gain selection sbatch script for subrun {run_id:05d}.{subrun:04d}")
231231
if not simulate:
232232
log_file = log_dir / f"r0_to_r0g_{run_id:05d}.{subrun:04d}.log"
233233
job_file = log_dir / f"gain_selection_{run_id:05d}.{subrun:04d}.sh"

0 commit comments

Comments
 (0)