From 1568357cbeb680b680589c84f9d23ed691b767bd Mon Sep 17 00:00:00 2001 From: mavaylon1 Date: Wed, 1 May 2024 16:36:58 -0700 Subject: [PATCH] roundtrip --- src/pynwb/nwb-schema | 2 +- tests/integration/hdf5/test_behavior.py | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 tests/integration/hdf5/test_behavior.py diff --git a/src/pynwb/nwb-schema b/src/pynwb/nwb-schema index d65d42257..7393211bb 160000 --- a/src/pynwb/nwb-schema +++ b/src/pynwb/nwb-schema @@ -1 +1 @@ -Subproject commit d65d42257003543c569ea7ac0cd6d7aee01c88d6 +Subproject commit 7393211bb04a61c153239dc49691598b4a41fa39 diff --git a/tests/integration/hdf5/test_behavior.py b/tests/integration/hdf5/test_behavior.py new file mode 100644 index 000000000..b2407326e --- /dev/null +++ b/tests/integration/hdf5/test_behavior.py @@ -0,0 +1,16 @@ +import numpy as np + +from pynwb.behavior import SpatialSeries +from pynwb.testing import AcquisitionH5IOMixin, TestCase, remove_test_file + + +class TestTimeSeriesIO(AcquisitionH5IOMixin, TestCase): + + def setUpContainer(self): + """ Return the test TimeSeries to read/write """ + return SpatialSeries( + name='test_sS', + data=np.ones((3, 2)), + reference_frame='reference_frame', + timestamps=[1., 2., 3.] + )