Skip to content

Conversation

@alejoe91
Copy link
Contributor

@h-mayorquin

For IBLExtractors we use the SpikeGLX machinery, but the bin file is not available locally

Copy link
Contributor

@h-mayorquin h-mayorquin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this reflects a real tension we’ve been grappling with in the SpikeGLX metadata.

On one hand, it’s ideal to obtain metadata directly from the accompanying metadata files. These are meant to serve as the source of truth and can be accessed even without the corresponding data files. This is the approach used in the IBL case.

On the other hand, users frequently modify the files themselves. This includes stub files, renamed files, and even cases where IBL members use their own ad-hoc SpikeGLX variants with custom compression. Because of these inconsistencies, instead of relying solely on the metadata, we began querying the data directly. This was the motivation behind my change that broke this.

Your proposed solution strikes me as a reasonable compromise between the two approaches. Query the data directly for size but if not, use the metadata.

@alejoe91 alejoe91 merged commit a376b4a into NeuralEnsemble:master Oct 15, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants