Skip to content

Commit cf543aa

Browse files
committed
Zach's suggestion
1 parent 6a3a52d commit cf543aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neo/rawio/spikeglxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def extract_stream_info(meta_file, meta):
566566
info["digital_channels"] = []
567567
info["analog_channels"] = [channel for channel in info["channel_names"] if not channel.startswith("XD")]
568568
# Digital/event channels are encoded within the digital word, so that will need more handling
569-
if meta["niXDChans1"] != "":
569+
if meta.get("niXDChans1", "") != "":
570570
nixd_chans1_items = meta["niXDChans1"].split(",")
571571
for item in nixd_chans1_items:
572572
if ":" in item:

0 commit comments

Comments
 (0)