Skip to content

Commit

Permalink
Merge pull request #69 from orichters/rs2
Browse files Browse the repository at this point in the history
correctly identify whether default scenario converged
  • Loading branch information
orichters authored Sep 4, 2023
2 parents 3e038e8 + 5cdad6b commit b368e9d
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '2959751'
ValidationKey: '2979808'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
Expand Down
4 changes: 2 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ cff-version: 1.2.0
message: If you use this software, please cite it using the metadata from this file.
type: software
title: 'modelstats: Run Analysis Tools'
version: 0.15.1
date-released: '2023-09-01'
version: 0.15.2
date-released: '2023-09-04'
abstract: A collection of tools to analyze model runs.
authors:
- family-names: Giannousakis
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: modelstats
Type: Package
Title: Run Analysis Tools
Version: 0.15.1
Date: 2023-09-01
Version: 0.15.2
Date: 2023-09-04
Authors@R: c(person("Anastasis", "Giannousakis", email = "[email protected]", role = c("aut","cre")))
Description: A collection of tools to analyze model runs.
Imports:
Expand Down
2 changes: 1 addition & 1 deletion R/modeltests.R
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ evaluateRuns <- function(model, mydir, gitPath, compScen, email, mattermostToken
if (model == "REMIND") {
# Find and print runs not started
if (length(paths) < length(rownames(runsToStart)) + 1) {
runsNotStarted <- setdiff(c("default-AMT-", rownames(runsToStart)), sub("_.*", "", paths))
runsNotStarted <- setdiff(c("default-AMT", rownames(runsToStart)), sub("_.*", "", paths))
write(" ", myfile, append = TRUE)
write(paste0("These scenarios did not start at all:"), myfile, append = TRUE)
write(runsNotStarted, myfile, append = TRUE)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run Analysis Tools

R package **modelstats**, version **0.15.1**
R package **modelstats**, version **0.15.2**

[![CRAN status](https://www.r-pkg.org/badges/version/modelstats)](https://cran.r-project.org/package=modelstats) [![R build status](https://github.com/pik-piam/modelstats/workflows/check/badge.svg)](https://github.com/pik-piam/modelstats/actions) [![codecov](https://codecov.io/gh/pik-piam/modelstats/branch/master/graph/badge.svg)](https://app.codecov.io/gh/pik-piam/modelstats) [![r-universe](https://pik-piam.r-universe.dev/badges/modelstats)](https://pik-piam.r-universe.dev/builds)

Expand Down Expand Up @@ -47,7 +47,7 @@ In case of questions / problems please contact Anastasis Giannousakis <giannou@p

To cite package **modelstats** in publications use:

Giannousakis A (2023). _modelstats: Run Analysis Tools_. R package version 0.15.1, <URL: https://github.com/pik-piam/modelstats>.
Giannousakis A (2023). _modelstats: Run Analysis Tools_. R package version 0.15.2, <URL: https://github.com/pik-piam/modelstats>.

A BibTeX entry for LaTeX users is

Expand All @@ -56,7 +56,7 @@ A BibTeX entry for LaTeX users is
title = {modelstats: Run Analysis Tools},
author = {Anastasis Giannousakis},
year = {2023},
note = {R package version 0.15.1},
note = {R package version 0.15.2},
url = {https://github.com/pik-piam/modelstats},
}
```

0 comments on commit b368e9d

Please sign in to comment.