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

prule: Fix slurm parsing

parent f7e99e88
No related branches found
No related tags found
No related merge requests found
......@@ -382,7 +382,9 @@ def parse_slurminfo(info: str) -> dict:
elif l.startswith(" StdIn="):
slurm["StdIn"] = l[9:].strip("\n")
elif l.startswith(" Reservation="):
slurm["StdIn"] = l[15:].strip("\n")
slurm["Reservation"] = l[15:].strip("\n")
elif l.startswith(" Comment="):
slurm["Comment"] = l[11:].strip("\n")
else:
for t in l.strip().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