Skip to content

Commit

Permalink
update position test
Browse files Browse the repository at this point in the history
  • Loading branch information
stephprince committed Dec 7, 2024
1 parent e857358 commit 8684135
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/hdf5/test_ecephys.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import numpy as np

from hdmf.common import DynamicTableRegion
from pynwb import NWBFile

Expand Down Expand Up @@ -26,7 +28,8 @@ def setUpContainer(self):
description='a test ElectrodeGroup',
location='a nonexistent place',
device=self.dev1,
position=(1., 2., 3.))
position=np.array((1, 2, 3),
dtype=np.dtype([('x', float), ('y', float), ('z', float)])))
return eg

def addContainer(self, nwbfile):
Expand Down

0 comments on commit 8684135

Please sign in to comment.