File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11from hdmf .common .io .table import DynamicTableMap
2- from .base import TimeSeriesMap
32
43from .. import register_map
5- from pynwb .misc import Units , DecompositionSeries
4+ from pynwb .misc import Units
65
76
87@register_map (Units )
Original file line number Diff line number Diff line change @@ -140,7 +140,6 @@ def test_read_electrodes_table_as_neurodata_type(self):
140140 with self .get_io (f ) as io :
141141 read_nwbfile = io .read ()
142142 assert isinstance (read_nwbfile .electrodes , ElectrodesTable )
143- breakpoint ()
144143
145144 # test that references to the electrodes table are also ElectrodesTable
146145 assert read_nwbfile .units .electrodes .table is read_nwbfile .electrodes
@@ -157,8 +156,10 @@ def test_read_electrodes_table_as_neurodata_type(self):
157156 assert isinstance (read_export_nwbfile .electrodes , ElectrodesTable )
158157
159158 # test that references to the electrodes table are also ElectrodesTable
160- assert read_export_nwbfile .units .electrodes .table is read_export_nwbfile .electrodes
161- assert read_export_nwbfile .acquisition ["ElectricalSeries" ].electrodes .table is read_export_nwbfile .electrodes
159+ units_table_ref = read_export_nwbfile .units .electrodes .table
160+ assert units_table_ref is read_export_nwbfile .electrodes
161+ eseries_table_ref = read_export_nwbfile .acquisition ["ElectricalSeries" ].electrodes .table
162+ assert eseries_table_ref is read_export_nwbfile .electrodes
162163
163164 def test_read_bands_table_as_neurodata_type (self ):
164165 """Test that a "bands" table written as a DynamicTable is read as an FrequencyBandsTable"""
You can’t perform that action at this time.
0 commit comments