Closed orichters closed 1 month ago
Attention: Patch coverage is 70.00000%
with 3 lines
in your changes missing coverage. Please review.
Project coverage is 41.52%. Comparing base (
e9a8b9a
) to head (b4fc477
). Report is 18 commits behind head on master.
Files with missing lines | Patch % | Lines |
---|---|---|
R/chooseFromList.R | 66.66% | 2 Missing :warning: |
R/setScenario.R | 0.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
chooseFromList
: Don't fail if a factor vector is supplied, just convert to character. If pattern matching fails, try again.setScenario
, do not fail if the scenario config file contains only one single scenario column.tmp[,-1]
then returns the single column only as a vector, no data.frame anymore, and everything else fails. Rather usesubset
to make sure it stays a data.frame. Is of relevance for https://github.com/magpiemodel/magpie/blob/develop/config/projects/scenario_config_ngfs.csv