Skip to content

Commit

Permalink
try harder for empty transfer output files
Browse files Browse the repository at this point in the history
  • Loading branch information
dsschult committed Oct 9, 2024
1 parent a00248a commit 8a2cdc0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions iceprod/server/plugins/condor.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,13 @@ async def submit(self, tasks: list[Task], jel: Path):
when_to_transfer_output = ON_EXIT
should_transfer_files = YES
infiles_expr = replaceall(";", $(infiles), ",")
+TransferInput = $STRING(infiles_expr)
infiles_str = $STRING(infiles_expr)
transfer_input_files = ifThenElse(isString($(infiles_str)), $(infiles_str), "")
+PreCmd = $(prec)
+PreArguments = $(prea)
outfiles_expr = replaceall(";", $(outfiles), ",")
+TransferOutput = $STRING(outfiles_expr)
outfiles_str = $STRING(outfiles_expr)
transfer_output_files = ifThenElse(isString($(outfiles_str)), $(outfiles_str), "")
transfer_output_remaps = $(outremaps)
"""
Expand Down

0 comments on commit 8a2cdc0

Please sign in to comment.