Skip to content
Snippets Groups Projects
Commit aaf7c677 authored by Alex Wiens's avatar Alex Wiens
Browse files

Prule: Add more cases in slurminfo parsing

parent 796598d0
Branches
No related tags found
No related merge requests found
...@@ -371,6 +371,12 @@ def parse_slurminfo(info): ...@@ -371,6 +371,12 @@ def parse_slurminfo(info):
slurm["ReqTRES"] = l[11:].strip("\n") slurm["ReqTRES"] = l[11:].strip("\n")
elif l.startswith(" AllocTRES="): elif l.startswith(" AllocTRES="):
slurm["AllocTRES"] = l[13:].strip("\n") slurm["AllocTRES"] = l[13:].strip("\n")
elif l.startswith(" StdErr="):
slurm["StdErr"] = l[10:].strip("\n")
elif l.startswith(" StdOut="):
slurm["StdOut"] = l[10:].strip("\n")
elif l.startswith(" StdIn="):
slurm["StdIn"] = l[9:].strip("\n")
else: else:
for t in l.strip().split(" "): for t in l.strip().split(" "):
k,v = t.split("=") k,v = t.split("=")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment