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)
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)