aramis-lab / clinica

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

[REF] BIDS : proposition for function create_participants_df from bids_utils #1208

Open AliceJoubert opened 2 weeks ago

AliceJoubert commented 2 weeks ago

Small refactor of create_participants_df of bids_utils to simplify the code. It uses dataframe methods now. The corresponding unit test had to be adapted a little. The function is currently working for OASIS and ADNI datasets but maybe the code could work with AIBL since there is a very similar function in the code specific to the AIBL dataset.

Maybe in another function : Compare BIDS result to initial raw dataset, available for all types of datasets (same as cleaning sessions/subjects)