Skip to content

Commit

Permalink
Merge pull request NeuralEnsemble#1459 from alejoe91/fix-1451
Browse files Browse the repository at this point in the history
SpikeGLX: add Ultra and NP-Opto types
  • Loading branch information
alejoe91 authored Apr 16, 2024
2 parents 4763c49 + 94be26d commit 0401de0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions 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 @@ -441,7 +441,7 @@ def extract_stream_info(meta_file, meta):
if (
"imDatPrb_type" not in meta
or meta["imDatPrb_type"] == "0"
or meta["imDatPrb_type"] in ("1015", "1022", "1030", "1031", "1032")
or meta["imDatPrb_type"] in ("1015", "1022", "1030", "1031", "1032", "1100", "1121", "1300")
):
# This work with NP 1.0 case with different metadata versions
# https://github.com/billkarsh/SpikeGLX/blob/15ec8898e17829f9f08c226bf04f46281f106e5f/Markdown/Metadata_30.md
Expand Down
2 changes: 2 additions & 0 deletions neo/test/rawiotest/test_spikeglxrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ class TestSpikeGLXRawIO(BaseTestRawIO, unittest.TestCase):
"spikeglx/NP2_with_sync",
"spikeglx/NP2_no_sync",
"spikeglx/NP2_subset_with_sync",
# NP-ultra
"spikeglx/np_ultra_stub",
]

def test_with_location(self):
Expand Down

0 comments on commit 0401de0

Please sign in to comment.