Skip to content
Snippets Groups Projects

Fix launching work directly (not via Slurm)

Merged Thomas Kluyver requested to merge dont-require-slurm-env into master
All threads resolved!
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -141,6 +141,8 @@ def get_job_info(jobs: List[str], fmt: List[str]) -> List[List[str]]:
Result ordered according to order of jobs given
Order of fields in inner lists follows fmt
"""
if not jobs:
return [] # Skip calling sacct if not using Slurm
# will use JobID to match results to jobs (duplicate field in fmt is OK)
fmt_query = ",".join(["JobID"] + fmt)
Loading