Skip to content

Commit

Permalink
change slurm conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
gpetretto committed Feb 26, 2024
1 parent c5e5c72 commit 2544441
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qtoolkit/io/slurm.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ def qstate(self) -> QState:
SlurmState.PENDING: QState.QUEUED,
SlurmState.PREEMPTED: QState.FAILED,
SlurmState.RESV_DEL_HOLD: QState.QUEUED_HELD,
SlurmState.REQUEUE_FED: QState.QUEUED,
SlurmState.REQUEUE_HOLD: QState.QUEUED,
SlurmState.REQUEUE_FED: QState.REQUEUED, # ambiguous conversion. Could also be QUEUED,
SlurmState.REQUEUE_HOLD: QState.REQUEUED, # QUEUED_HELD or SUSPENDED
SlurmState.RESIZING: QState.RUNNING,
SlurmState.REVOKED: QState.FAILED,
SlurmState.RUNNING: QState.RUNNING,
Expand Down

0 comments on commit 2544441

Please sign in to comment.