Description of the error
When you run a job that save to opened files, it can cause them to end up being in a bad state. For example on windows if I run the trajectory converter with the output file set to a file already loaded then MDANSE will attempt to run the job. The job fails but it seems to clear the file in the process. This means this cleared file will still be loaded up in the MDANSE GUI.
Suggested fix
If the MDT or MDA file is already open in MDANSE then the job should be blocked from running. Alternatively the user should be warned that the loaded file will be overwritten, MDANSE should then unload those files, overwrite and reload them.
Description of the error When you run a job that save to opened files, it can cause them to end up being in a bad state. For example on windows if I run the trajectory converter with the output file set to a file already loaded then MDANSE will attempt to run the job. The job fails but it seems to clear the file in the process. This means this cleared file will still be loaded up in the MDANSE GUI.
Suggested fix If the MDT or MDA file is already open in MDANSE then the job should be blocked from running. Alternatively the user should be warned that the loaded file will be overwritten, MDANSE should then unload those files, overwrite and reload them.