Skip to content

Commit 16e73d9

Browse files
NileGraddisrly
andauthored
pass file object to parent when loading namespaces (#1242)
Co-authored-by: Ryan Ly <[email protected]>
1 parent 79caa7b commit 16e73d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

requirements-min.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# these minimum requirements specify '==' for testing; setup.py replaces '==' with '>='
22
h5py==2.9 # support for setting attrs to lists of utf-8 added in 2.9
3-
hdmf==1.6.1,<2
3+
hdmf==1.6.2,<2
44
numpy==1.16
55
pandas==0.23
66
python-dateutil==2.7

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
h5py==2.10.0
2-
hdmf==1.6.1
2+
hdmf==1.6.2
33
numpy==1.18.1
44
pandas==0.25.3
55
python-dateutil==2.8.1

src/pynwb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def __init__(self, **kwargs):
227227
raise ValueError("cannot load namespaces from file when writing to it")
228228

229229
tm = get_type_map()
230-
super(NWBHDF5IO, self).load_namespaces(tm, path)
230+
super(NWBHDF5IO, self).load_namespaces(tm, path, file=file_obj)
231231
manager = BuildManager(tm)
232232

233233
# XXX: Leaving this here in case we want to revert to this strategy for

0 commit comments

Comments
 (0)