thartbm / PyVMEC

A Python-based GUI to create and run visuo-motor experiments.
GNU General Public License v3.0
1 stars 3 forks source link

Force Unique Names of Experiments and Tasks #83

Open thartbm opened 5 years ago

thartbm commented 5 years ago

Some issues with running, saving and pre-processing did or could arise from tasks within an experiment having the exact same name. So both when creating a new task, or when duplicating an existing one, there should be a check that ensure the new task has a unique name.

In order to make sure existing experiments don't get accidentally overwritten, we should probably do the same for experiments.

thartbm commented 4 years ago

On Windows, lower/upper case doesn't matter. This means that when two tasks only differ in the case of a letter, the task that is done last will overwite the first one. This has now happened to a student.

There are several possible solutions, the one that I think is fastest is to only allow lowercase letters in task/experiment names.