EducationalTestingService / Confero

Eye-tracking, Screen and Event Capturing System for Windows. A web application running on a separate PC allows for real time monitoring of the users actions.
GNU General Public License v3.0
9 stars 1 forks source link

Save app_config and iohub_config yaml files used for each session. #67

Closed isolver closed 10 years ago

isolver commented 10 years ago

Either

  1. save to session folder that has the session videos and ffmpeg log files etc. or
  2. save the files into the hdf5 file used to store events for all sessions of that exp.

Which would you prefer Gary? 1. is very quick to do obviously. 2. should not take too long, but definately longer than 1. since I have never done it before. ;)

isolver commented 10 years ago

So right now the app_conf and iohub_conf yaml files used when a session started are copied to the session results folder.

garyfeng commented 10 years ago

Will this overwrite whatever is in the results folder every time you start/continue a session? I don't think it's safe to assume that the root YAML files won't get changed in the middle of a study. For example, someone may be testing a different set up and forgot to change back.

Ideally we should allow the YAML files in each session folder to take precedence over the default YAML files. This may not be easy given that the ConferoView server/webapp needs these files to start.

A temporary solution may be to copy the YAML files to the session folder and rename them with date/time appended. That is, we never overwrite, and we can always backtrack to the original configs. What do you think?

isolver commented 10 years ago

On Wed, May 14, 2014 at 3:46 PM, garyfeng notifications@github.com wrote:

.... copy the YAML files to the session folder and rename them .... That is, we never overwrite, and we can always backtrack to the original configs. What do you think?

This is exactly what is currently being done already; but no timestamp. An experiment session can only be run once, with multiple start / stop recordings during that one session though. Once you close an experiment session, you can not open it again, only create a new session. So the copy of the yaml files made to the session dir can not be written over.

Is that OK?