2024-08-30 07:39:10 +00:00
|
|
|
"""
|
|
|
|
Placeholder test module to test reading from pynwb-generated NWB file
|
|
|
|
"""
|
|
|
|
|
2024-09-03 07:54:56 +00:00
|
|
|
from nwb_linkml.io.hdf5 import HDF5IO
|
|
|
|
|
2024-08-30 07:39:10 +00:00
|
|
|
|
|
|
|
def test_read_from_nwbfile(nwb_file):
|
|
|
|
"""
|
|
|
|
Read data from a pynwb HDF5 NWB file
|
2024-09-11 22:44:57 +00:00
|
|
|
|
|
|
|
Placeholder that just ensures that reads work and all pydantic models validate,
|
|
|
|
testing of correctness of read will happen elsewhere.
|
2024-08-30 07:39:10 +00:00
|
|
|
"""
|
2024-09-03 07:54:56 +00:00
|
|
|
res = HDF5IO(nwb_file).read()
|
2024-08-30 07:39:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
def test_read_from_yaml(nwb_file):
|
|
|
|
"""
|
|
|
|
Read data from a yaml-fied NWB file
|
|
|
|
"""
|
|
|
|
pass
|