Trying to store calculated orientations_rad in file to reuse it but the file was opened as read-only.
The following gets printed many times when running robofish-io-render
:
Trying to store calculated orientations_rad in file to reuse it but the file was opened as read-only.
If you open the file with mode 'r+' (or 'w' if it is still open from creation time) the information can be stored and reused.
To disable this message execute robofish.io.disable_warning_when_unable_to_store().
This was probably introduced in commit b3782164.
I'm actually not sure if I like the idea that robofish-io is secretly modifying the files... The files can be very sensitive (e.g. live trials) and I like to treat them as immutable. Can we maybe make this optimization opt-in?