fix tsrv test

This commit is contained in:
sneakers-the-rat 2024-08-15 01:55:15 -07:00
parent 3cda6c3e7c
commit ec7a8254fe
Signed by untrusted user who does not match committer: jonny
GPG key ID: 6DCB96EF1E4D232D

View file

@ -17,7 +17,6 @@ from nwb_linkml.includes.hdmf import (
# FIXME: Make this just be the output of the provider by patching into import machinery
from nwb_linkml.models.pydantic.core.v2_7_0.namespace import (
ElectrodeGroup,
VoltageClampStimulusSeries,
)
from .conftest import _ragged_array
@ -769,7 +768,6 @@ def test_aligned_dynamictable_ictable(intracellular_recordings_table):
# also tested separately
# each individual cell should be an array of VoltageClampStimulusSeries...
# and then we should be able to index within that as well
stims = rows["stimuli", "stimulus"][0]
stims = rows["stimuli", "stimulus"]
for i in range(len(stims)):
assert isinstance(stims[i], VoltageClampStimulusSeries)
assert all([i == val for val in stims[i][:]])
assert all(np.array(stims[i]) == i)