nwb-linkml/nwb_linkml/tests/test_io/test_io_nwb.py

22 lines
493 B
Python

"""
Placeholder test module to test reading from pynwb-generated NWB file
"""
from nwb_linkml.io.hdf5 import HDF5IO
def test_read_from_nwbfile(nwb_file):
"""
Read data from a pynwb HDF5 NWB file
Placeholder that just ensures that reads work and all pydantic models validate,
testing of correctness of read will happen elsewhere.
"""
res = HDF5IO(nwb_file).read()
def test_read_from_yaml(nwb_file):
"""
Read data from a yaml-fied NWB file
"""
pass