Skip to content

Commit

Permalink
Additonal types (#177)(patch)
Browse files Browse the repository at this point in the history
### Added
* Job status: completing to allowed statuses
  • Loading branch information
Mropat committed Oct 19, 2021
1 parent ea5b01d commit 322d107
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions trailblazer/constants.py
@@ -1,12 +1,12 @@
COMPLETED_STATUS = "completed"
FAILED_STATUS = "failed"
ONGOING_STATUSES = ("pending", "running", "error")
STARTED_STATUSES = ["completed", "failed", "pending", "running", "error"]
SLURM_NORMAL_CATEGORIES = ("completed", "running", "pending")
ONGOING_STATUSES = ("pending", "running", "error", "completing")
STARTED_STATUSES = ["completed", "failed", "pending", "running", "error", "completing"]
SLURM_NORMAL_CATEGORIES = ("completed", "running", "pending", "completing")
SLURM_FAILED_CATEGORIES = ("failed", "cancelled", "timeout")
SLURM_ACTIVE_CATEGORIES = ("running", "pending")
SLURM_ACTIVE_CATEGORIES = ("running", "pending", "completing")

STATUS_OPTIONS = ("pending", "running", "completed", "failed", "error", "canceled")
STATUS_OPTIONS = ("pending", "running", "completed", "failed", "error", "canceled", "completing")
JOB_STATUS_OPTIONS = SLURM_NORMAL_CATEGORIES + SLURM_FAILED_CATEGORIES
PRIORITY_OPTIONS = ("low", "normal", "high")
TYPES = ("wes", "wgs", "rna", "tgs", "other")

0 comments on commit 322d107

Please sign in to comment.