Skip to content

Commit

Permalink
Merge pull request #204 from NeurodataWithoutBorders/203-update-valid…
Browse files Browse the repository at this point in the history
…ator

pynwb: Update validator to use get_manager() function. See #203
  • Loading branch information
jcfr authored Nov 7, 2017
2 parents effe462 + f5d26ee commit f2d12e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pynwb/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from argparse import ArgumentParser
import os
from form.backends.hdf5 import HDF5IO
from . import validate, load_namespaces, get_build_manager
from pynwb import validate, load_namespaces, get_manager

ep = """
use --nspath to validate against an extension. If --ns is not specified,
Expand Down Expand Up @@ -34,7 +34,7 @@ def print_errors(errors):
write('%s not found' % path, file=sys.stderr) # noqa: F821
sys.exit(1)

io = HDF5IO(args.path, get_build_manager())
io = HDF5IO(args.path, get_manager())

if args.nspath is not None:
namespaces = load_namespaces(args.nspath)
Expand Down

0 comments on commit f2d12e6

Please sign in to comment.