Skip to content
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

Cache the spec by default when writing file #84

Merged
merged 4 commits into from
Jun 20, 2019
Merged

Cache the spec by default when writing file #84

merged 4 commits into from
Jun 20, 2019

Conversation

rly
Copy link
Contributor

@rly rly commented Jun 20, 2019

Fixes #76

Also, prevent overwriting of spec with same name
e.g. if the group '/specifications/core/2.0.2/' already contains the group 'nwb.base', do not try to create it again when caching the spec.

rly added 2 commits June 20, 2019 10:30
e.g. if the group '/specifications/core/2.0.2/' already contains the 
group 'nwb.base', do not try to create it again when caching the spec
@codecov
Copy link

codecov bot commented Jun 20, 2019

Codecov Report

Merging #84 into dev will increase coverage by 0.24%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##              dev     #84      +/-   ##
=========================================
+ Coverage   66.65%   66.9%   +0.24%     
=========================================
  Files          24      24              
  Lines        4814    4814              
  Branches     1092    1092              
=========================================
+ Hits         3209    3221      +12     
+ Misses       1234    1228       -6     
+ Partials      371     365       -6
Impacted Files Coverage Δ
src/hdmf/backends/hdf5/h5tools.py 59.28% <ø> (+1.87%) ⬆️
src/hdmf/backends/hdf5/h5_utils.py 59.5% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7ccb0a4...d43737f. Read the comment docs.

ajtritt
ajtritt previously approved these changes Jun 20, 2019
@rly
Copy link
Contributor Author

rly commented Jun 20, 2019

I forgot that @bendichter had already made a PR #63 on this. @ajtritt I now use require_dataset based on your comment there.

@rly rly mentioned this pull request Jun 20, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Always cache spec
2 participants