Skip to content

Commit

Permalink
Merge pull request #1526 from alejoe91/spikeglx-bug
Browse files Browse the repository at this point in the history
Fix spikeglx parsing bug
  • Loading branch information
alejoe91 authored Aug 22, 2024
2 parents 315f485 + 5d817af commit 1b52cdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo/rawio/spikeglxrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def parse_spikeglx_fname(fname):
re_else = re.findall(r"(\S*)\.(\S*).(ap|lf)", fname)
re_else_nidq = re.findall(r"(\S*)\.(\S*)", fname)
if len(re_else) == 1:
run_name, device, stream_kind = re_else_nidq[0]
run_name, device, stream_kind = re_else[0]
gate_num, trigger_num = None, None
elif len(re_else_nidq) == 1:
# easy case for nidaq, example: sglx_xxx.nidq
Expand Down

0 comments on commit 1b52cdf

Please sign in to comment.