Skip to content

Commit

Permalink
Fix #1157
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Jan 22, 2020
1 parent 897c5dd commit 1e6a513
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 @@ -7,7 +7,7 @@
from hdmf.build import TypeMap as TypeMap
from hdmf.backends.hdf5 import HDF5IO

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 @@ -75,7 +75,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 @@ -92,7 +92,7 @@ def main():
specloc = "--nspath namespace information"
else:
manager = None
namespaces = available_namespaces()
namespaces = [CORE_NAMESPACE]
specloc = "pynwb namespace information"

if args.ns:
Expand Down

1 comment on commit 1e6a513

@t-b
Copy link
Collaborator

@t-b t-b commented on 1e6a513 Jan 29, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the branch fix/validate_default an open PR?

Please sign in to comment.