Skip to content

Commit 7080e43

Browse files
committed
fixed call to read_and_display
1 parent cdc044c commit 7080e43

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pydra/environments/native.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class Native(base.Environment):
1616

1717
def execute(self, job: "Job[shell.Task]") -> dict[str, ty.Any]:
1818
cmd_args = job.task._command_args(values=job.inputs)
19-
return base.read_and_display(cmd_args)
19+
return base.read_and_display(*cmd_args)
2020

2121

2222
# Alias so it can be referred to as native.Environment

pydra/environments/singularity.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,11 @@ def execute(self, job: "Job[shell.Task]") -> dict[str, ty.Any]:
3333
)
3434
job.cache_dir.mkdir(exist_ok=True)
3535
return base.read_and_display(
36-
singularity_args
37-
+ [singularity_img]
38-
+ job.task._command_args(values=values),
36+
*(
37+
singularity_args
38+
+ [singularity_img]
39+
+ job.task._command_args(values=values)
40+
)
3941
)
4042

4143

0 commit comments

Comments
 (0)