mirror of
https://github.com/p2p-ld/nwb-linkml.git
synced 2025-01-09 21:54:27 +00:00
fix tsrv test
This commit is contained in:
parent
3cda6c3e7c
commit
ec7a8254fe
1 changed files with 2 additions and 4 deletions
|
@ -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
|
# 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 (
|
from nwb_linkml.models.pydantic.core.v2_7_0.namespace import (
|
||||||
ElectrodeGroup,
|
ElectrodeGroup,
|
||||||
VoltageClampStimulusSeries,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
from .conftest import _ragged_array
|
from .conftest import _ragged_array
|
||||||
|
@ -769,7 +768,6 @@ def test_aligned_dynamictable_ictable(intracellular_recordings_table):
|
||||||
# also tested separately
|
# also tested separately
|
||||||
# each individual cell should be an array of VoltageClampStimulusSeries...
|
# each individual cell should be an array of VoltageClampStimulusSeries...
|
||||||
# and then we should be able to index within that as well
|
# 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)):
|
for i in range(len(stims)):
|
||||||
assert isinstance(stims[i], VoltageClampStimulusSeries)
|
assert all(np.array(stims[i]) == i)
|
||||||
assert all([i == val for val in stims[i][:]])
|
|
||||||
|
|
Loading…
Reference in a new issue