Skip to content

Commit

Permalink
roundtrip
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed May 1, 2024
1 parent eae8a5d commit 1568357
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions tests/integration/hdf5/test_behavior.py
Original file line number Diff line number Diff line change
@@ -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.]
)

0 comments on commit 1568357

Please sign in to comment.