Skip to content

Commit

Permalink
solve mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
marialainez committed Aug 8, 2024
1 parent db1f22f commit 3606b26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/osa/scripts/gain_selection.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def get_sbatch_script(

elif tool == "lstchain_r0_to_r0g":
cmd = f"lstchain_r0_to_r0g --R0-file={input_file} --output-dir={output_dir} --log={log_file}"
if not cfg.get("lstchain", "use_ff_heuristic_gain_selection"):
if not cfg.getboolean("lstchain", "use_ff_heuristic_gain_selection"):
cmd += " --no-flatfield-heuristic"
sbatch_script += dedent(cmd)

Expand Down

0 comments on commit 3606b26

Please sign in to comment.