Commit 01334dc9 authored by mvdbeek's avatar mvdbeek Committed by Chabrier Patrick
Browse files

Slurm CLI runner debug

parent 9f47484d
......@@ -65,6 +65,7 @@ class Slurm(BaseJobExec):
def parse_status(self, status, job_ids):
# Get status for each job, skipping header.
rval = {}"Status is '%s'", status)
for line in status.splitlines()[1:]:
id, state = line.split()
if id in job_ids:
......@@ -73,6 +74,7 @@ class Slurm(BaseJobExec):
return rval
def parse_single_status(self, status, job_id):'status is %s', status)
status = status.splitlines()
if len(status) > 1:
# Job still on cluster and has state.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment