Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rly authored and t-b committed Feb 2, 2020
1 parent 118dd4e commit da6b5bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pynwb/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from hdmf.build import BuildManager
from hdmf.build import TypeMap as TypeMap

from pynwb import validate, available_namespaces, NWBHDF5IO
from pynwb import validate, CORE_NAMESPACE, NWBHDF5IO
from pynwb.spec import NWBDatasetSpec, NWBGroupSpec, NWBNamespace


Expand Down Expand Up @@ -80,7 +80,7 @@ def main():
specloc = "cached namespace information"
else:
manager = None
namespaces = available_namespaces()
namespaces = [CORE_NAMESPACE]
specloc = "pynwb namespace information"
print("The file {} has no cached namespace information. "
"Falling back to {}.".format(path, specloc), file=sys.stderr)
Expand All @@ -97,7 +97,7 @@ def main():
specloc = "--nspath namespace information"
else:
manager = None
namespaces = available_namespaces()
namespaces = [CORE_NAMESPACE]
specloc = "pynwb namespace information"

if args.list_namespaces:
Expand Down

0 comments on commit da6b5bf

Please sign in to comment.