Skip to content

Commit

Permalink
Merge pull request #4 from tonygard-indecon/fix_report_Figures_sTest_TKG
Browse files Browse the repository at this point in the history
Fix report figures s test tkg
  • Loading branch information
tonygard-indecon authored Jan 7, 2025
2 parents 73a2289 + d72171f commit c3ef31c
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/2c_run_report_scenarios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,13 @@ jobs:
### Format sector names
sectors0 |> print()
sectors0 <- sectors0 |> str_split(pattern=",") |> unlist() |> trimws()
sectorsLC0 <- sectorsLC0 |> tolower()
sectors0 <- sectors0 |> tolower()
doAll <- "all" %in% sectorsLC0
doGcm <- "gcm" %in% sectorsLC0
doSlr <- "slr" %in% sectorsLC0
if (doAll) sectors <- NULL
else if(doGcm) sectors <- FrEDI::get_sectorInfo(gcmOnly=T)
else if(doSlr) sectors <- FrEDI::get_sectorInfo(slrOnly=T)
else sectors <- sectors0
if (doAll) sectors <- NULL else if (doGcm) sectors <- FrEDI::get_sectorInfo(gcmOnly=T) else if
(doSlr) sectors <- FrEDI::get_sectorInfo(slrOnly=T) else
sectors <- sectors0
sectors |> print()
### Which years to report on for GCM, SLR sectors
Expand Down

0 comments on commit c3ef31c

Please sign in to comment.