python-neo
python-neo copied to clipboard
Why is the event channels header dtype is in bytes?
So here:
_event_channel_dtype = [
("name", "U64"),
("id", "U64"),
("type", "S5"), <---- HERE ATTENTION THIS IS BYTES
]
https://github.com/NeuralEnsemble/python-neo/blob/315f485eb24c8d17aaebc5d6b56a336840913b66/neo/rawio/baserawio.py#L123-L127
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.