Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:magpiemodel/magpie into f_fixfader2
Browse files Browse the repository at this point in the history
  • Loading branch information
flohump committed Jan 23, 2025
2 parents 24f885a + fb39ad6 commit 800c80d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### added
- **scripts** added start script for land-based mitigation and biodiversity conservation paper
- **start_scripts** added `lock_timeout` as option to `start_run` function
- **scripts** release number can be passed as an argument to test_runs.R to tag as release

### removed
-
Expand Down
7 changes: 6 additions & 1 deletion scripts/start/test_runs.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ source("config/default.cfg")
download_and_update(cfg)

# create additional information to describe the runs
cfg$info$flag <- "weeklyTests"
arguments <- commandArgs(trailingOnly = TRUE)
if (length(arguments) == 1) {
cfg$info$flag <- paste0("release-", arguments)
} else {
cfg$info$flag <- "weeklyTests"
}

cfg$results_folder <- "output/:title:"
cfg$force_replace <- TRUE
Expand Down

0 comments on commit 800c80d

Please sign in to comment.