Skip to content

Commit

Permalink
checkpoint repr works as well as able to write
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 committed Sep 29, 2024
1 parent dbfb805 commit be0614c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/pynwb/ecephys.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ class ElectrodesTable(DynamicTable):
{'name': 'rel_x', 'type': float, 'doc':'TODO', 'default': None},
{'name': 'rel_y', 'type': float, 'doc':'TODO', 'default': None},
{'name': 'rel_z', 'type': float, 'doc':'TODO', 'default': None},
{'name': 'reference', 'type': VectorData, 'doc':'TODO', 'default': None},)
{'name': 'reference', 'type': VectorData, 'doc':'TODO', 'default': None},
*get_docval(DynamicTable.__init__, 'id', 'columns', 'colnames'))
def __init__(self, **kwargs):
kwargs['name'] = 'electrodes'
kwargs['description'] = 'metadata about extracellular electrodes'
Expand Down
3 changes: 1 addition & 2 deletions tests/unit/foo.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
nwbfile.electrodes = table
nwbfile.add_electrode_group(group)
nwbfile.add_electrode(group=group, location='brain')
# breakpoint()
breakpoint()
# nwbfile.add_electrode_column(name="label", description="label of electrode")

# nshanks = 4
Expand Down Expand Up @@ -66,5 +66,4 @@
io= NWBHDF5IO("/Users/mavaylon/Research/NWB/pynwb/tests/back_compat/2.6.0_DynamicTableElectrodes.nwb", "r")
# io= NWBHDF5IO(new, 'r')
read_nwbfile = io.read()

breakpoint()

0 comments on commit be0614c

Please sign in to comment.