2023-09-14 09:45:01 +00:00
|
|
|
import pdb
|
|
|
|
|
2023-09-06 07:50:49 +00:00
|
|
|
import pytest
|
|
|
|
from pathlib import Path
|
|
|
|
|
2023-09-14 09:45:01 +00:00
|
|
|
from ..fixtures import tmp_output_dir, set_config_vars
|
|
|
|
|
2023-09-06 07:50:49 +00:00
|
|
|
from nwb_linkml.io.hdf5 import HDF5IO
|
2023-09-12 02:55:45 +00:00
|
|
|
@pytest.mark.skip()
|
2023-09-06 07:50:49 +00:00
|
|
|
def test_hdf_read():
|
|
|
|
NWBFILE = Path('/Users/jonny/Dropbox/lab/p2p_ld/data/nwb/sub-738651046_ses-760693773.nwb')
|
2023-09-07 05:48:47 +00:00
|
|
|
if not NWBFILE.exists():
|
|
|
|
return
|
2023-09-06 07:50:49 +00:00
|
|
|
io = HDF5IO(path=NWBFILE)
|
2023-09-14 09:45:01 +00:00
|
|
|
model = io.read('acquisition')
|
|
|
|
|
|
|
|
pdb.set_trace()
|