File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 7
7
from hdmf .build import TypeMap as TypeMap
8
8
from hdmf .backends .hdf5 import HDF5IO
9
9
10
- from pynwb import validate , available_namespaces , NWBHDF5IO
10
+ from pynwb import validate , CORE_NAMESPACE , NWBHDF5IO
11
11
from pynwb .spec import NWBDatasetSpec , NWBGroupSpec , NWBNamespace
12
12
13
13
@@ -75,7 +75,7 @@ def main():
75
75
specloc = "cached namespace information"
76
76
else :
77
77
manager = None
78
- namespaces = available_namespaces ()
78
+ namespaces = [ CORE_NAMESPACE ]
79
79
specloc = "pynwb namespace information"
80
80
print ("The file {} has no cached namespace information. "
81
81
"Falling back to {}." .format (path , specloc ), file = sys .stderr )
@@ -92,7 +92,7 @@ def main():
92
92
specloc = "--nspath namespace information"
93
93
else :
94
94
manager = None
95
- namespaces = available_namespaces ()
95
+ namespaces = [ CORE_NAMESPACE ]
96
96
specloc = "pynwb namespace information"
97
97
98
98
if args .ns :
You can’t perform that action at this time.
0 commit comments