Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build-and-run-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ on:
type: choice
description: Run type or purpose
options:
- junk
- rejected
- test
- baseline
- candidate
- comps
- final
- junk
- rejected
- test
default: test
required: true
run_note:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tag-model-runs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ on:
type: choice
description: New/replacement run type to apply to specified runs
options:
- junk
- rejected
- test
- baseline
- candidate
- comps
- final
- junk
- rejected
- test
default: test
required: true
run_ids:
Expand Down
3 changes: 2 additions & 1 deletion R/helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,8 @@ model_tag_run <- function(run_id, year, run_type) {
paths <- model_file_dict(run_id, year)
possible_run_types <- c(
"junk", "rejected", "test",
"baseline", "candidate", "final"
"baseline", "candidate", "final",
"comps"
)
if (!run_type %in% possible_run_types) {
stop(
Expand Down
3 changes: 2 additions & 1 deletion R/setup.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ run_type <- as.character(
# Must be one of the dedicated run types
possible_run_types <- c(
"junk", "rejected", "test",
"baseline", "candidate", "final"
"baseline", "candidate", "final",
"comps"
)
if (!run_type %in% possible_run_types) {
stop(
Expand Down
2 changes: 1 addition & 1 deletion params.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
# Run Control ------------------------------------------------------------------

# Model tag used to identify the purpose of the run. Must be one of:
# "junk", "rejected", "test", "baseline", "candidate", or "final"
# "junk", "rejected", "test", "baseline", "candidate", "final", or "comps"
run_type: "test"

# Note included with each run. Use this to summarize what changed about the run
Expand Down
Loading