Skip to content

Commit

Permalink
Merge pull request #21 from HealthyPear/fix-bug
Browse files Browse the repository at this point in the history
Fix crash at job submission when --save_images=True
  • Loading branch information
HealthyPear authored Jan 28, 2021
2 parents 28fec24 + 87c6f1e commit ce876ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions submit_jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ def main():
"--indir ./ --infile_list={infile_name}",
"--max_events={}".format(switches["max_events"]),
"--{mode}",
"--cam_ids",
"--cam_ids {}".format(cam_id_list),
]
output_filename_template = "TRAINING"
elif switches["output_type"] in "DL2":
Expand All @@ -179,7 +179,7 @@ def main():
"--force_tailcut_for_extended_cleaning={}".format(
force_tailcut_for_extended_cleaning
),
"--cam_ids",
"--cam_ids {}".format(cam_id_list),
]
output_filename_template = "DL2"

Expand All @@ -190,7 +190,7 @@ def main():
cmd = [source_ctapipe, "&&", "./" + execute]
cmd += script_args

pilot_args_write = " ".join(cmd + cam_id_list)
pilot_args_write = " ".join(cmd)

# For table merging if multiple runs
pilot_args_merge = " ".join(
Expand Down

0 comments on commit ce876ec

Please sign in to comment.