Skip to content

Commit 0401de0

Browse files
authored
Merge pull request #1459 from alejoe91/fix-1451
SpikeGLX: add Ultra and NP-Opto types
2 parents 4763c49 + 94be26d commit 0401de0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

neo/rawio/spikeglxrawio.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ def extract_stream_info(meta_file, meta):
441441
if (
442442
"imDatPrb_type" not in meta
443443
or meta["imDatPrb_type"] == "0"
444-
or meta["imDatPrb_type"] in ("1015", "1022", "1030", "1031", "1032")
444+
or meta["imDatPrb_type"] in ("1015", "1022", "1030", "1031", "1032", "1100", "1121", "1300")
445445
):
446446
# This work with NP 1.0 case with different metadata versions
447447
# https://github.com/billkarsh/SpikeGLX/blob/15ec8898e17829f9f08c226bf04f46281f106e5f/Markdown/Metadata_30.md

neo/test/rawiotest/test_spikeglxrawio.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ class TestSpikeGLXRawIO(BaseTestRawIO, unittest.TestCase):
2929
"spikeglx/NP2_with_sync",
3030
"spikeglx/NP2_no_sync",
3131
"spikeglx/NP2_subset_with_sync",
32+
# NP-ultra
33+
"spikeglx/np_ultra_stub",
3234
]
3335

3436
def test_with_location(self):

0 commit comments

Comments
 (0)