BhallaLab / MouseBehaviour

Arduino and PointGrey camera based behaviour setup.
https://mousebehaviour.readthedocs.io/en/latest/
GNU General Public License v3.0
2 stars 5 forks source link

Sessions saved over older files #41

Closed ananthamurthy closed 5 years ago

ananthamurthy commented 5 years ago

I'd tried two sessions with "All1" and found session 2 to have rewritten the trials of "X_1_All1". We need to be sure the session is saved properly

dilawar commented 5 years ago

If a overwrite is detected (file already exists), the system will STOP and will not overwrite. This is a safety feature implemented in 4ca4fa7

dilawar commented 5 years ago

Also watch out for camke warnings due to typo in command line parameters e.g. passing SESSION_TYPE instead of SESSION_NUM will raise the warning but continue with previous value of SESSION_NUM.

CMake Warning:
  Manually-specified variables were not used by the project:

    SESSION_TYPE

Ideally typo in these variables they should be treated as error but currently there is no way.