Closed WeisLeDocto closed 8 months ago
I was recently reported the case of a project that was reported as saved, but could not be found anywhere on the computer. It is possible that it was because of a name incorrectly handled by the OS, or a network drive issue.
No matter the reason for this specific failure, a check should be added to verify that all the files have been saved correctly at the requested location. This check could be placed at the end of this method: https://github.com/TissueEngineeringLab/MyoFInDer/blob/ea51e786a7017f47a5634842c066c074807ecf1b/src/myofinder/files_table.py#L99 Alternatively (and probably preferably), it could also be placed at the end of this method: https://github.com/TissueEngineeringLab/MyoFInDer/blob/ea51e786a7017f47a5634842c066c074807ecf1b/src/myofinder/main_window.py#L460 In case the recording failed, an error message should be displayed, and the unsaved status should remain.
I was recently reported the case of a project that was reported as saved, but could not be found anywhere on the computer. It is possible that it was because of a name incorrectly handled by the OS, or a network drive issue.
No matter the reason for this specific failure, a check should be added to verify that all the files have been saved correctly at the requested location. This check could be placed at the end of this method: https://github.com/TissueEngineeringLab/MyoFInDer/blob/ea51e786a7017f47a5634842c066c074807ecf1b/src/myofinder/files_table.py#L99 Alternatively (and probably preferably), it could also be placed at the end of this method: https://github.com/TissueEngineeringLab/MyoFInDer/blob/ea51e786a7017f47a5634842c066c074807ecf1b/src/myofinder/main_window.py#L460 In case the recording failed, an error message should be displayed, and the unsaved status should remain.