mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2024-11-14 02:34:28 +00:00
11 lines
301 B
Python
11 lines
301 B
Python
import pytest
|
|
from pathlib import Path
|
|
|
|
from nwb_linkml.io.hdf5 import HDF5IO
|
|
|
|
def test_hdf_read():
|
|
NWBFILE = Path('/Users/jonny/Dropbox/lab/p2p_ld/data/nwb/sub-738651046_ses-760693773.nwb')
|
|
if not NWBFILE.exists():
|
|
return
|
|
io = HDF5IO(path=NWBFILE)
|
|
model = io.read('/general')
|