Skip to content

Commit d69bec9

Browse files
authored
Fix Singularity shell execution: Added missing arguments (#255)
1 parent 003fbc0 commit d69bec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runners/mlcube_singularity/mlcube_singularity/singularity_run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def run(self) -> None:
220220

221221
volumes = Shell.to_cli_args(mounts, sep=":", parent_arg="--bind")
222222
try:
223-
Shell.run([self.mlcube.runner.singularity, 'run', volumes, str(image_file), ' '.join(task_args)])
223+
Shell.run([self.mlcube.runner.singularity, 'run', self.mlcube.runner.run_args, volumes, str(image_file), ' '.join(task_args)])
224224
except ExecutionError as err:
225225
raise ExecutionError.mlcube_run_error(
226226
self.__class__.__name__,

0 commit comments

Comments
 (0)