Skip to content

Commit c0a3871

Browse files
committed
fixed template file name
1 parent 62f3215 commit c0a3871

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

wfcommons/wfbench/translator/cwl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def _parse_steps(self) -> None:
132132

133133
code = [
134134
f" {task.task_id}:",
135-
" run: clt/bash.cwl",
135+
" run: clt/shell.cwl",
136136
" in:",
137137
]
138138

@@ -224,7 +224,7 @@ def _write_cwl_files(self, output_folder: pathlib.Path) -> None:
224224
clt_folder.mkdir(exist_ok=True)
225225
shutil.copy(this_dir.joinpath("templates/cwl_templates/wfbench.cwl"), clt_folder)
226226
shutil.copy(this_dir.joinpath("templates/cwl_templates/folder.cwl"), clt_folder)
227-
shutil.copy(this_dir.joinpath("templates/cwl_templates/bash.cwl"), clt_folder)
227+
shutil.copy(this_dir.joinpath("templates/cwl_templates/shell.cwl"), clt_folder)
228228

229229
with open(cwl_folder.joinpath("main.cwl"), "w", encoding="utf-8") as f:
230230
f.write("\n".join(self.cwl_script))

wfcommons/wfbench/translator/templates/cwl_templates/shell.cwl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ class: CommandLineTool
33
requirements:
44
InlineJavascriptRequirement: {}
55
ShellCommandRequirement: {}
6-
stdout: $("logs/" + inputs.step_name + ".out")
7-
stderr: $("logs/" + inputs.step_name + ".err")
6+
stdout: $(inputs.step_name + ".out")
7+
stderr: $(inputs.step_name + ".err")
88

99
arguments:
1010
- position: 1

0 commit comments

Comments
 (0)