Why is the event channels header dtype is in bytes?
Opened this issue · 3 comments
h-mayorquin commented
So here:
_event_channel_dtype = [
("name", "U64"),
("id", "U64"),
("type", "S5"), <---- HERE ATTENTION THIS IS BYTES
]
python-neo/neo/rawio/baserawio.py
Lines 123 to 127 in 315f485
I think this might bring problems down the line. Is this intentional? it seems to me that it should be strings and in fact in Plexon is extracted as a string and implicitly converted to bytes when the header is built.
zm711 commented
I think @samuelgarcia or maybe @JuliaSprenger would know. I'll also tag @apdavison in case he does. I have no clue why that would be the case...
samuelgarcia commented
I guess this is me but I do not remember.
I need to read it again to refresh.
Give a couple of days.
zm711 commented
Sam will comment on this shortly.