cortex-lab / phylib

Lightweight electrophysiological data analysis library
BSD 3-Clause "New" or "Revised" License
11 stars 23 forks source link

Make default FlatEphysReader mode r instead of r+ #35

Closed alejoe91 closed 2 years ago

alejoe91 commented 2 years ago

Hi @rossant

We are trying to run pykilosort via docker in SpikeInterface and the input folder are mapped with r mode. However, the default mode of the FlatEphysReader is r+. Any reason why it is not read-only?

rossant commented 2 years ago

Looks like a bug, I don't see any reason why it should be writable!! Thanks for the report and PR 👍