Change mortality input file to be compatible with new format#74
Merged
kemccusker merged 7 commits intodscim-v0.4.0from Apr 6, 2023
Merged
Change mortality input file to be compatible with new format#74kemccusker merged 7 commits intodscim-v0.4.0from
kemccusker merged 7 commits intodscim-v0.4.0from
Conversation
Codecov Report
@@ Coverage Diff @@
## dscim-v0.4.0 #74 +/- ##
================================================
- Coverage 40.35% 40.11% -0.24%
================================================
Files 18 17 -1
Lines 1846 1857 +11
================================================
Hits 745 745
- Misses 1101 1112 +11
... and 2 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
kemccusker
reviewed
Apr 6, 2023
| else: | ||
| raise ValueError("Mortality version not valid: ", str(mortality_version)) | ||
|
|
||
| # We set 0 population to infinity so that per capita damages are 0 in locations with 0 population |
Member
There was a problem hiding this comment.
@JMGilbert @davidrzhdu based on convo today it sounds like we should implement this for other sector inputs if we don't already
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change output of
prep_mortality_damagesto work with the new format of mortality valued projection system outputs.