klabhub / neurostim

Design and run visual neuroscience experiments using Matlab and the Psychophysics Toolbox.
MIT License
4 stars 3 forks source link

Add a warning when loading a cic object from a crashed experiment. #169

Closed cnuahs closed 3 years ago

cnuahs commented 3 years ago

If neurostim crashes (or otherwise exist unexpectedly), the file you're left with is a partial record of the experiment. It is possible that additional trials were run that you now have no record of. This can cause confusion when trying to reconcile data or events that may have been recorded elsewhere (eye tracker, daq system etc.). This change adds code to issue a warning when loading a partial save to minimise confusion.