Skip to content

Commit

Permalink
Build: modify list of models to run with estimation
Browse files Browse the repository at this point in the history
  • Loading branch information
k-doering-NOAA committed Sep 16, 2021
1 parent 3637910 commit 9746cbf
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/run-with-est.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,21 @@ jobs:
- name: keep only fast running models
run: |
# comment out some temporarily for testing.
keep_mods <- c("growth_timevary", "Hake_2018", "growth_morphs", "Hake_2019_semi-parametric_selex",
"Empirical_Wtatage_Age_Selex", "Simple_NoCPUE", "Simple", "Simple_with_Discard",
"tagging_mirrored_sel", "three_area_nomove", "vermillion_snapper", "three_area",
"KelpGreenling2015", "BigSkate_2019")
message("Models to keep are ", paste0(keep_mods, collapse = ", " ))
all_mods <- list.dirs(file.path("ss-test-models-repo", "model_runs"), full.names = FALSE, recursive = FALSE)
rm_mods <- all_mods[!all_mods %in% keep_mods]
#keep_mods <- c("growth_timevary", "Hake_2018", "growth_morphs", "Hake_2019_semi-parametric_selex",
# "Empirical_Wtatage_Age_Selex", "Simple_NoCPUE", "Simple", "Simple_with_Discard",
# "tagging_mirrored_sel", "three_area_nomove", "vermillion_snapper", "three_area",
# "KelpGreenling2015", "BigSkate_2019")
# remove these models because they take too long to run
rm_mods <- c("BlueDeaconRF_2017", "BlackRf_2015_WA", "China_2015_Central",
"Spinydogfish_2011", "YellowtailRF_2017", "Bocaccio_2015",
"Darkblotched_2015", "POP_2017", "seasonal_with_size_comp",
"Widow_2015", "YelloweyeRF_2017", "CanaryRf_2015",
"Petrale2015", "three_area_double_normal_selex",
"Sablefish2015")
all_mods <- list.dirs(file.path("ss-test-models-repo", "model_runs"),
full.names = FALSE, recursive = FALSE)
keep_mods <- all_mods[!all_mods %in% rm_mods]
message("Models to keep are ", paste0(keep_mods, collapse = ", " ))
# remove files for models that are not in keep_mods
for (i in rm_mods) {
tmp_rm_files <- list.files(file.path("ss-test-models-repo", "model_runs", i), full.names = TRUE)
Expand Down

0 comments on commit 9746cbf

Please sign in to comment.