Closed servoz closed 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 ...
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 ....
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) ....
launch mia
File > Import
select let's say populse_mia/data_tests/Philips_files/Data_patient
export to mia the 2 files So we have in /tmp/\<TemporaryDir>/data:
File > Save project as, set new project name: rel2_test00 So we have now in \<ProjectsFolder>/rel2_test00/data:
Until now everything seems normal!
File > Exit (close mia) Now we have: