-
Notifications
You must be signed in to change notification settings - Fork 26
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
Add reasonable defaults #133
Conversation
src/hdmf/backends/hdf5/h5tools.py
Outdated
@@ -30,7 +30,7 @@ | |||
class HDF5IO(HDMFIO): | |||
|
|||
@docval({'name': 'path', 'type': str, 'doc': 'the path to the HDF5 file'}, | |||
{'name': 'manager', 'type': BuildManager, 'doc': 'the BuildManager to use for I/O', 'default': None}, | |||
{'name': 'manager', 'type': (TypeMap, BuildManager), 'doc': 'the BuildManager to use for I/O', 'default': None}, |
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.
The doc should be updated to reflect the new behavior. Should the name of the arg also change?
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.
The name should stay, for backwards compatibility. I will update the doc though
Codecov Report
@@ Coverage Diff @@
## dev #133 +/- ##
========================================
- Coverage 69.05% 69% -0.06%
========================================
Files 24 24
Lines 4967 4971 +4
Branches 1137 1139 +2
========================================
Hits 3430 3430
- Misses 1170 1172 +2
- Partials 367 369 +2
Continue to review full report at Codecov.
|
Motivation
Remove boilerplate requirements.
How to test the behavior?
run test suite
Checklist
flake8
from the source directory.#XXX
notation whereXXX
is the issue number ? By including "Fix #XXX" you allow GitHub to close the corresponding issue.