-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature #247
Feature #247
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #247 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 105 105
Lines 3380 3427 +47
=========================================
+ Hits 3380 3427 +47 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work! Sorry there are always a lot of comments on the first PR, but this is great quality work, and I've just added a lot of small corrections, as well as a few wider suggestions
pyEpiabm/pyEpiabm/tests/test_unit/test_routine/test_file_population_config.py
Outdated
Show resolved
Hide resolved
Co-authored-by: Kit Gallagher <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there!
…ot already have household
…n control when the id of a person is changed
# Conflicts: # pyEpiabm/pyEpiabm/core/microcell.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the most recent change not negate the need for the change_id
argument in add_household
?
Co-authored-by: Kit Gallagher <[email protected]>
… to determine whether we want the id overridden or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for more changes - I promise there's nothing big here - some typing points and two quick tests, but no functional changes.
pyEpiabm/pyEpiabm/tests/test_unit/test_intervention/test_travel_isolation.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Brilliant work @mghosh00 and @abbie-evans on this PR - thanks for your perseverance on this and all the hard work to get this finished! I am very happy with this addition, and you both adapted well to the issues coding this up that I had not anticipated, particularly regarding travel isolation.
Summary
Created ids for Person and Household, and changed the Cell and Microcell ids to be strings
Checklist
All new functions have docstrings in the correct style
I've verified the complete docs build locally without errors
I've maintained 100% coverage (please mention any 'no cover' annotations explicitly)
I've unit-tested all new methods directly
Breaking change (fix or feature that would cause existing functionality to change)
I have read the CONTRIBUTING document.
My code follows the code style of this project.
I have updated the wiki with new parameters/model functionality
Closing issues
Closes #242 .