Skip to content

"read_openephys"with onebox ADC stream Error #4083

Closed

Description

@jialeren2024

Spikeinterface 0.102.3. failed to load the timestamps use "read_openephys" with the OneBox-ADC stream, a Error occurred, that didn't happen in the old version: might be due to a mismatch between the stream name: 'OneBox-ADC_ADC' and the folder name:'OneBox-ADC'

Image Image

a sample data for test:

2025-06-03_14-42-36.zip

Activity

  1. samuelgarcia commented on Jul 25, 2025

    @samuelgarcia
    Member

    Oups we have a missing import I guess.
    Thanks for reporting this.
    Lets fix this before the release.

  2. added this to the 0.103.0 milestone on Jul 25, 2025
  3. chrishalcrow commented on Jul 27, 2025

    @chrishalcrow
    Member

    Hello, there are two errors going on here:

    1. The error in the error trace "cannot access local variable 'warnings' where it is not associated with a value"

    This is very weird: there's an import of the warnings package at the top of the file, and that's been there for 3 years... I have no idea what's going on

    1. (more important!) You can't open the timestamps.

    As you rightly figured out, we currently assume that the oe_stream folder (where timestamps are kept) is named "whatever-comes-after-#-in-the-steam-name". In this case, OneBox-100.OneBox-ADC_ADC. But the sample data shows that it's equal to OneBox-100.OneBox-ADC. To fix this problem generally, we need more info on how OneBox is naming folders. Anyone know who to contact??

  4. alejoe91 commented on Jul 28, 2025

    @alejoe91
    Member

    The warning issue has been fixed here already: #3980

    Let's open an issue on the Open Ephys repo

  5. alejoe91 commented on Jul 28, 2025

    @alejoe91
    Member

    Actually, this is an issue in NEO: https://github.com/NeuralEnsemble/python-neo/blob/master/neo/rawio/openephysbinaryrawio.py#L205-L217

    We basically add the _ADC to the stream if the channel name has ADC in it. This is incompatible with OneBox, since the ADC has its own stream already.

  6. added
    NEO
    on Jul 28, 2025
  7. alejoe91 commented on Jul 28, 2025

    @alejoe91
    Member

    @jialeren2024 should be fixed by this PR in NEO: NeuralEnsemble/python-neo#1753

    Can you try to install neo and spikeinterface from source and test it again?

  8. jialeren2024 commented on Jul 29, 2025

    @jialeren2024
    Author

    @alejoe91 This PR solved the problem. Thanks!
    Thank you all! @chrishalcrow @samuelgarcia The sample data I uploaded was recorded by OpenEphys + OneBox + Neuropixels UHD. If there are any other files needs, please let me know.

    Image
  9. alejoe91 commented on Jul 31, 2025

    @alejoe91
    Member

    Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    NEO

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions