aramis-lab / clinica

Software platform for clinical neuroimaging studies
http://www.clinica.run/
Other
220 stars 74 forks source link

Fix logic in adni_utils by restoring loops in create_file #1178

Closed AliceJoubert closed 4 months ago

AliceJoubert commented 4 months ago

Follow-up fix for problems mentioned by users while working on PR #1175 . Temporary directories will be properly deleted and files with "imaginary" and "real" in their names handled accordingly (PR #1177 )

AliceJoubert commented 4 months ago

@NicolasGensollen I fixed what you mentioned and also added a check to avoid looking at hidden files.

WDYT ?

Edit : actually it broke something else for one subject, I need to investigate

tharpm95 commented 4 months ago

Glad to see this is getting merged. Just a heads up I will be out of office for the next couple weeks.