File tree Expand file tree Collapse file tree
wfcommons/wfbench/translator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -194,16 +194,16 @@ def _create_task_script(output_folder: pathlib.Path, task: Task):
194194 # Generate input spec
195195 input_spec = "'\\ ["
196196 for f in task .input_files :
197- input_spec += f"\" data/{ f .file_id } \" ,"
197+ input_spec += f"\" { output_folder . resolve () } / data/{ f .file_id } \" ,"
198198 input_spec = input_spec [:- 1 ] + "\\ ]'"
199199
200200 # Generate output spec
201201 output_spec = "'\\ {"
202202 for f in task .output_files :
203- output_spec += f"\" data/{ f .file_id } \" :{ str (f .size )} ,"
203+ output_spec += f"\" { output_folder . resolve () } / data/{ f .file_id } \" :{ str (f .size )} ,"
204204 output_spec = output_spec [:- 1 ] + "\\ }'"
205205
206- code += f"bin/{ task .program } "
206+ code += f"{ output_folder . resolve () } / bin/{ task .program } "
207207
208208 for a in task .args :
209209 if "--output-files" in a :
You can’t perform that action at this time.
0 commit comments