Skip to content

Commit 2e621c0

Browse files
bendichterkabilar
andauthored
Update element_array_ephys/export/nwb/nwb.py
Co-authored-by: Kabilar Gunalan <kabilar@datajoint.com>
1 parent a01ee9c commit 2e621c0

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
@@ -259,6 +259,7 @@ def add_ephys_units_to_nwb(
259259
"""
260260

261261
if not ephys.ClusteringTask & session_key:
262+
warnings.warn(f'No unit data exists for session:{session_key}')
262263
return
263264

264265
if nwbfile.electrodes is None:

0 commit comments

Comments
 (0)