Skip to content

Commit

Permalink
Update test_fredi.yml
Browse files Browse the repository at this point in the history
Adding load data steps for figures
  • Loading branch information
knoiva-indecon committed Dec 18, 2024
1 parent 090a8d5 commit 64ef08e
Showing 1 changed file with 20 additions and 24 deletions.
44 changes: 20 additions & 24 deletions .github/workflows/test_fredi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,30 +328,26 @@ jobs:
artDir |> list.files() |> print();
c(gcmPath, slrPath) |> print()
### Load data
do_any <- FALSE
### Check if GCM file exists and, if it does, load it
if(gcmExists) {
gcmPath |> load(gcm_env <- new.env())
gcmList <- gcm_env |> as.list()
gcmData0 <- gcmList[["obj0"]]
do_gcm <- !(gcmData0 |> is.null())
do_any <- do_any | do_gcm
rm(gcm_env, gcmList)
} ### End if(gcmExists)
### Check if SLR file exists and, if it does, load it
if(slrExists) {
slrPath |> load(slr_env <- new.env())
slrList <- slr_env |> as.list()
slrData0 <- slrList[["obj0"]]
do_slr <- !(slrData0 |> is.null())
do_any <- do_any | do_slr
rm(slr_env, slrList)
} ### End if(slrExists)
} ### End if(doFigures)
"got here" |> print()
Expand Down

0 comments on commit 64ef08e

Please sign in to comment.