Skip to content

Commit 8ca2147

Browse files
committed
changed shell.arg to shell.outarg for path_template outputs
1 parent dc7b4dd commit 8ca2147

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

pydra/engine/tests/test_singularity.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ def test_singularity_outputspec_1(plugin, tmp_path):
152152

153153
Singu = shell.define(
154154
" ".join(cmd),
155-
inputs=[shell.arg(name="newfile", type=File, path_template="newfile_tmp.txt")],
155+
outputs=[
156+
shell.outarg(name="newfile", type=File, path_template="newfile_tmp.txt")
157+
],
156158
)
157159
singu = Singu()
158160

@@ -379,7 +381,9 @@ def test_singularity_cmd_inputspec_copyfile_1(plugin, tmp_path):
379381
help="orig file",
380382
copyfile=True,
381383
),
382-
shell.arg(
384+
],
385+
outputs=[
386+
shell.outarg(
383387
name="out_file",
384388
type=str,
385389
path_template="{orig_file}",

0 commit comments

Comments
 (0)