Skip to content

Commit

Permalink
Merge pull request #275 from cms21/main
Browse files Browse the repository at this point in the history
fixed exception message
  • Loading branch information
tomuram committed Oct 19, 2022
2 parents 0c333ab + 32290e0 commit 1f8405e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion balsam/platform/scheduler/pbs_sched.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def _parse_status_output(raw_output: str) -> Dict[int, SchedulerJobStatus]:
jobid = int(jobidstr.split(".")[0])
status["scheduler_id"] = jobid
except ValueError:
logger.error(f"Error parsing jobid {jobid} in status output; skipping")
logger.error(f"Error parsing jobid {jobidstr} in status output; skipping")
continue
status["state"] = PBSScheduler._job_states[job["job_state"]] # type: ignore # noqa
status["time_remaining_min"] = 0
Expand Down

0 comments on commit 1f8405e

Please sign in to comment.