Skip to content

Commit 842beec

Browse files
bendichterkabilar
andauthored
Update element_array_ephys/export/nwb/nwb.py
Co-authored-by: Kabilar Gunalan <kabilar@datajoint.com>
1 parent 766f4eb commit 842beec

File tree

1 file changed

+1
-0
lines changed
  • element_array_ephys/export/nwb

1 file changed

+1
-0
lines changed

element_array_ephys/export/nwb/nwb.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ def create_units_table(
197197

198198
units_table = pynwb.misc.Units(name=name, description=desc)
199199
# add additional columns to the units table
200+
units_query = ephys.CuratedClustering.Unit() & session_key
200201
for additional_attribute in ["cluster_quality_label", "spike_depths"]:
201202
units_table.add_column(
202203
name=units_query.heading.attributes[additional_attribute].name,

0 commit comments

Comments
 (0)