Skip to content

Commit

Permalink
Also support only_toydata=True
Browse files Browse the repository at this point in the history
  • Loading branch information
dachengx committed Sep 6, 2024
1 parent cd2e179 commit 7c5bbf8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions alea/submitters/htcondor.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,9 +611,10 @@ def _generate_workflow(self, name="run_toymc_wrapper"):
self.f_alea_run_toymc,
)

output_filename = args_dict["output_filename"]
job.add_outputs(File(os.path.basename(output_filename)), stage_out=False)
combine_job.add_inputs(File(os.path.basename(output_filename)))
if not args_dict["only_toydata"]:
output_filename = args_dict["output_filename"]
job.add_outputs(File(os.path.basename(output_filename)), stage_out=False)
combine_job.add_inputs(File(os.path.basename(output_filename)))

toydata_filename = args_dict["toydata_filename"]
if args_dict["toydata_mode"] == "read":
Expand Down

0 comments on commit 7c5bbf8

Please sign in to comment.