Skip to content

Commit

Permalink
Merge pull request #126 from orichters/conoptspy
Browse files Browse the repository at this point in the history
don't skip folders containing log.txt
  • Loading branch information
orichters authored Feb 6, 2025
2 parents 6d85d1d + 6d44f2b commit bcdba10
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '4528125'
ValidationKey: '4548250'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
Expand Down
2 changes: 1 addition & 1 deletion CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ 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.22.5
version: 0.22.6
date-released: '2025-02-06'
abstract: A collection of tools to analyze model runs.
authors:
Expand Down
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: modelstats
Type: Package
Title: Run Analysis Tools
Version: 0.22.5
Version: 0.22.6
Date: 2025-02-06
Authors@R: c(
person("Anastasis", "Giannousakis", email = "giannou@pik-potsdam.de", role = c("aut","cre")),
Expand Down
2 changes: 1 addition & 1 deletion R/loopRuns.R
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ loopRuns <- function(mydir, user = NULL, colors = TRUE, sortbytime = TRUE) {
cat(underline(paste(coltitles, collapse = colSep)), "\n")
for (i in mydir) {
status <- try(getRunStatus(i, user = user))
if (! file.exists(paste0(i, "/", grep("^config.*", dir(i), value = TRUE)[1])) && status[["jobInSLURM"]] == "no") next
if (! file.exists(paste0(i, "/", grep("^config.*|^log.txt$", dir(i), value = TRUE)[1])) && status[["jobInSLURM"]] == "no") next
if (inherits(status, "try-error")) {
cat(basename(i), "skipped because of error\n")
next
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.22.5**
R package **modelstats**, version **0.22.6**

[![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, Richters O (2025). "modelstats: Run Analysis Tools." Version: 0.22.5, <https://github.com/pik-piam/modelstats>.
Giannousakis A, Richters O (2025). "modelstats: Run Analysis Tools." Version: 0.22.6, <https://github.com/pik-piam/modelstats>.

A BibTeX entry for LaTeX users is

Expand All @@ -58,6 +58,6 @@ A BibTeX entry for LaTeX users is
date = {2025-02-06},
year = {2025},
url = {https://github.com/pik-piam/modelstats},
note = {Version: 0.22.5},
note = {Version: 0.22.6},
}
```

0 comments on commit bcdba10

Please sign in to comment.