File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,11 @@ def execute(self, task):
92
92
# mounting all input locations
93
93
mounts = task .get_bindings (root = self .root )
94
94
95
- # todo adding xargsy etc
96
95
docker_args = [
97
96
"docker" ,
98
97
"run" ,
99
98
"-v" ,
100
- self .bind (task .cache_dir , "rw" , self . root ),
99
+ self .bind (task .cache_dir , "rw" ),
101
100
* self .xargs ,
102
101
]
103
102
docker_args .extend (
@@ -134,9 +133,9 @@ def execute(self, task):
134
133
"singularity" ,
135
134
"exec" ,
136
135
"-B" ,
137
- self .bind (task .cache_dir , "rw" , self .root ),
136
+ self .bind (task .cache_dir , "rw" ),
137
+ * self .xargs ,
138
138
]
139
- singularity_args .extend (self .xargs )
140
139
singularity_args .extend (
141
140
" " .join (
142
141
[f"-B { key } :{ val [0 ]} :{ val [1 ]} " for (key , val ) in mounts .items ()]
You can’t perform that action at this time.
0 commit comments