szmoore / MCTX3420

2013 MCTX3420 UWA Team 4
7 stars 7 forks source link

The experiment control 'force' option does not delete old experiment files #76

Open jtanx opened 11 years ago

jtanx commented 11 years ago

When the force option is called when starting an experiment (/api/control?action=start...), the same experiment folder is used, but the files within that folder are not deleted.

This is usually not a problem, as the files will be overwritten by the current experiment. However, if the sensors/actuators changes, and there still exists an old experiment folder, then some old data files may still exist when a new experiment is started.

Ideally, when a new experiment is started, all old experiment data files within the experiment folder should be deleted.