python-neo icon indicating copy to clipboard operation
python-neo copied to clipboard

Add support for open ephys version 0.6

Open JuliaSprenger opened this issue 2 years ago • 3 comments

Have you had exposure to open ephys version 0.6 yet? There appear to be some new file naming conventions, and interesting new corner cases, e.g. "CH{n}" name collisions! I've had to patch things over by parsing the "Continuous_Data.openephys" xml file, and then shimming that output to get consistent outcomes. I do hope there's an easier way that occurs to you!

Originally posted by @miketrumpis in https://github.com/NeuralEnsemble/python-neo/issues/1055#issuecomment-1063241131

JuliaSprenger avatar Mar 10 '22 09:03 JuliaSprenger

@miketrumpis : do you have a dataset for dealing this problem ?

samuelgarcia avatar Jun 23 '22 15:06 samuelgarcia

Apologies for the lack of transparency here, as this is not public data. I've shared a description of the problem in the fork I made. My intention was to PR, but I had to cut some corners for my particular use cases, which sacrificed some generalizability. Here is a description of the problem, highlighting the new path layout and variations on the XML structure that I'm using to decode the data streams.

Readme file here: https://github.com/miketrumpis/python-neo/tree/oephys-hacks/neo/rawio

miketrumpis avatar Jul 12 '22 14:07 miketrumpis

Hi @miketrumpis, thanks for pointing to your custom fixes. However for a general fix it is essential to have a test dataset as reference. Do you know any public dataset in the new format or will you generate one in the future?

JuliaSprenger avatar Jul 15 '22 09:07 JuliaSprenger

I think we fixed this recently, but if you test the current version and it is still not working please open a new issue with additional info (we now have a test file for new version and it seems to work so if it doesn't work for you we might need to tweak it a bit more).

zm711 avatar May 03 '24 14:05 zm711