Skip to content

Commit 5cb18e1

Browse files
authored
Fix missing method UnitsMap.get_nwb_file (#1227)
1 parent f4163aa commit 5cb18e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pynwb/io/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,5 +46,5 @@ def electrodes_column(self, container, manager):
4646
return ret
4747
# set the electrode table if it hasn't been set yet
4848
if ret.target.table is None:
49-
ret.target.table = self.get_nwb_file(container).electrodes
49+
ret.target.table = container.get_ancestor('NWBFile').electrodes
5050
return ret

0 commit comments

Comments
 (0)