populse / populse_mia

Multiparametric Image Analysis
Other
10 stars 9 forks source link

strange operations when exiting mia #188

Closed servoz closed 3 years ago

servoz commented 3 years ago

I think I have never seen this case, and it seems unexpected??
servoz commented 3 years ago

This is not due to the Exit, but to the Save operation (which can be done at the exit). To be investigated ...

servoz commented 3 years ago

This could come from populse_mia.user_interface.main_window.MainWindow.remove_raw_files_useless(), since it is use in exit and save as. Indeed, in this method, if the file is not in the database we transfer it from raw_data to derived_data. I don't remember why we do this ....

servoz commented 3 years ago

I don't understand why files from raw_data are automatically transferred to derived_data and files in downloaded_data are automatically deleted. So I commented on this feature in the MainWindow.remove_raw_files_useless() method. We can uncomnent if this action makes sense (I totally don't remember why we do this) ....