Skip to content

Commit 434e16a

Browse files
committed
import DataJointError
1 parent 12098ce commit 434e16a

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

element_array_ephys/export/nwb/nwb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ def add_electrodes_to_nwb(session_key: dict, nwbfile: pynwb.NWBFile):
126126
elif len(insertion_record) == 0:
127127
insert_location = "unknown"
128128
else:
129-
raise DataJointError(f'Found multiple insertion locations for {this_probe}')
129+
raise dj.DataJointError(f'Found multiple insertion locations for {this_probe}')
130130

131131
device = nwbfile.create_device(
132132
name=this_probe["probe"],

0 commit comments

Comments
 (0)