Skip to content

Commit a3334e9

Browse files
committed
removed warnings
1 parent cc2d7f1 commit a3334e9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

neo/rawio/blackrockrawio.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,15 +316,12 @@ def _parse_header(self):
316316
# Map unit_class_nb to unit classification string
317317
if unit_id == 0:
318318
unit_class = "unclassified"
319-
warnings.warn(f"Unit {unit_id} for channel {channel_id} is unclassified events!")
320319
elif 1 <= unit_id <= 16:
321320
unit_class = "sorted"
322321
elif unit_id == 255:
323322
unit_class = "noise"
324-
warnings.warn(f"Unit {unit_id} for channel {channel_id} is noisy events!")
325323
else: # 17-254 are reserved but treated as "non-spike-events"
326324
unit_class = "non-spike-events"
327-
warnings.warn(f"Unit {unit_id} for channel {channel_id} is non-spike events!")
328325

329326
spike_channels.append((name, _id, wf_units, wf_gain, wf_offset, wf_left_sweep, wf_sampling_rate, unit_class))
330327

0 commit comments

Comments
 (0)