Skip to content

Commit

Permalink
BF: add h5py.__version__ into the list of tokens for caching
Browse files Browse the repository at this point in the history
h5py 3.0 introduced breaking changes (see e.g. #282)
and hdmf yet to account for them.  We better cache that version too to improve
consistency of outputs etc
  • Loading branch information
yarikoptic committed Nov 25, 2020
1 parent 39c62bc commit 142e21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dandi/pynwb_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

# strip away possible development version marker
dandi_rel_version = __version__.split("+", 1)[0]
dandi_cache_tokens = [pynwb.__version__, dandi_rel_version]
dandi_cache_tokens = [pynwb.__version__, dandi_rel_version, h5py.__version__]
metadata_cache = PersistentCache(name="metadata", tokens=dandi_cache_tokens)
validate_cache = PersistentCache(name="validate", tokens=dandi_cache_tokens)

Expand Down

0 comments on commit 142e21e

Please sign in to comment.