Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant check and call compareScenarios also for runs that converged but had INFES #102

Merged
merged 4 commits into from
May 23, 2024

Conversation

dklein-pik
Copy link
Member

No description provided.

Run compareScenarios also for runs that have "converged (had INFES)", not only for runs that "converged".
@dklein-pik dklein-pik requested a review from orichters May 22, 2024 16:13
message("Skipping ", i, " and changed back to ", normalizePath("."))
next
}
load("config.Rdata")
sameRuns <- gRS %>% filter(.data$Conv %in% c("converged", "converged (had INFES)"), # runs have to be converged
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a cs2 is useful even if the run did not converge, specifically because one would want to look at why it didn't.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure which runs you are interested in. I assume you mean the ones that are feasible but didn't make it to 100 iterations (status "not_converged"), right? Because runs that are infeasible don't write a mif file, so no cs2 could be run.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly, those with status not_converged

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@dklein-pik dklein-pik merged commit 1dd11cc into pik-piam:master May 23, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants