Commit 7b0c44f1 authored by Amir MOHAMMADI's avatar Amir MOHAMMADI

Allow failed jobs to be stopped too (changing their status to submitted)

parent 285d845a
Pipeline #33158 passed with stage
in 14 minutes and 57 seconds
...@@ -200,7 +200,7 @@ class JobManagerSGE(JobManager): ...@@ -200,7 +200,7 @@ class JobManagerSGE(JobManager):
if job.status in ('executing', 'queued', 'waiting'): if job.status in ('executing', 'queued', 'waiting'):
qdel(, context=self.context) qdel(, context=self.context)"Stopped job '%s' in the SGE grid." % job)"Stopped job '%s' in the SGE grid." % job)
job.submit() job.submit()
self.session.commit() self.session.commit()
self.unlock() self.unlock()
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment