-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cleaned up mappings module #132
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #132 +/- ##
==========================================
- Coverage 75.67% 75.60% -0.08%
==========================================
Files 17 17
Lines 1402 1402
==========================================
- Hits 1061 1060 -1
- Misses 341 342 +1 ☔ 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.
Functionality is being changed without changes in tests. I guess this means that the test was missing previously. Can you please add one?
correct handling of the `allow_incomplete` option.
This PR does not change any functionality, it only fixes some bugs that were already fixed in dlite.mappings but not ported to tripper. |
Mappings are different from dict ? so what is the reason for the change? |
I guess you are referring to line 223. It is just a generalisation, to allow the |
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.
I've added a suggestion and a question, otherwise I think that this PR is fine. I agree that no features have been added.
Co-authored-by: Anders Eklund <96499163+ajeklund@users.noreply.github.com>
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.
Approved. Thank you!
# Description Removed everything that has been moved to tripper from mappings.py and import it from tripper instead. This PR should not be merged into master before PR EMMC-ASBL/tripper#132 has been merged and preferable a new release of tripper has been created. This cleanup was already done a while ago. Not sure why the old version of mappings.py has reappeared... ## Type of change - [x] Bug fix & code cleanup - [ ] New feature - [ ] Documentation update - [ ] Test update ## Checklist for the reviewer This checklist should be used as a help for the reviewer. - [ ] Is the change limited to one issue? - [ ] Does this PR close the issue? - [ ] Is the code easy to read and understand? - [ ] Do all new feature have an accompanying new test? - [ ] Has the documentation been updated as necessary?
Description:
Minor bugfixes
Value.__repr__()
Type of change:
Checklist for the reviewer:
This checklist should be used as a help for the reviewer.