Loading services/webapp/code/rosetta/core_app/computing_managers.py +2 −2 Original line number Diff line number Diff line Loading @@ -242,7 +242,7 @@ class SSHSingleNodeComputingManager(SingleNodeComputingManager, SSHComputingMana else: raise NotImplementedError('Container {} not supported'.format(task.container.type)) raise NotImplementedError('Container runtime {} not supported'.format(self.computing.default_container_runtime)) out = os_shell(run_command, capture=True) if out.exit_code != 0: Loading Loading @@ -380,7 +380,7 @@ class SlurmSSHClusterComputingManager(ClusterComputingManager, SSHComputingManag run_command+='docker://{}/{}:{} &> \$HOME/{}.log\\" > \$HOME/{}.sh && sbatch {} \$HOME/{}.sh"\''.format(task.container.registry, task.container.image_name, task.container.image_tag, task.uuid, task.uuid, sbatch_args, task.uuid) else: raise NotImplementedError('Default container runtime "{}" not supported'.format(task.computing.default_container_runtime)) raise NotImplementedError('Container runtime {} not supported'.format(task.computing.default_container_runtime)) out = os_shell(run_command, capture=True) if out.exit_code != 0: Loading services/webapp/code/rosetta/core_app/models.py +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class Computing(models.Model): @property def default_container_runtime(self): return str(self.container_runtimes).split(',')[0] return self.container_runtimes[0] #======================= Loading Loading
services/webapp/code/rosetta/core_app/computing_managers.py +2 −2 Original line number Diff line number Diff line Loading @@ -242,7 +242,7 @@ class SSHSingleNodeComputingManager(SingleNodeComputingManager, SSHComputingMana else: raise NotImplementedError('Container {} not supported'.format(task.container.type)) raise NotImplementedError('Container runtime {} not supported'.format(self.computing.default_container_runtime)) out = os_shell(run_command, capture=True) if out.exit_code != 0: Loading Loading @@ -380,7 +380,7 @@ class SlurmSSHClusterComputingManager(ClusterComputingManager, SSHComputingManag run_command+='docker://{}/{}:{} &> \$HOME/{}.log\\" > \$HOME/{}.sh && sbatch {} \$HOME/{}.sh"\''.format(task.container.registry, task.container.image_name, task.container.image_tag, task.uuid, task.uuid, sbatch_args, task.uuid) else: raise NotImplementedError('Default container runtime "{}" not supported'.format(task.computing.default_container_runtime)) raise NotImplementedError('Container runtime {} not supported'.format(task.computing.default_container_runtime)) out = os_shell(run_command, capture=True) if out.exit_code != 0: Loading
services/webapp/code/rosetta/core_app/models.py +1 −1 Original line number Diff line number Diff line Loading @@ -228,7 +228,7 @@ class Computing(models.Model): @property def default_container_runtime(self): return str(self.container_runtimes).split(',')[0] return self.container_runtimes[0] #======================= Loading