diff --git a/clinica/iotools/converters/oasis_to_bids/oasis_to_bids_utils.py b/clinica/iotools/converters/oasis_to_bids/oasis_to_bids_utils.py index 290a5fc7b..ee7e8ae58 100644 --- a/clinica/iotools/converters/oasis_to_bids/oasis_to_bids_utils.py +++ b/clinica/iotools/converters/oasis_to_bids/oasis_to_bids_utils.py @@ -76,7 +76,8 @@ def create_sessions_df( sessions_df["diagnosis"] = sessions_df["diagnosis"].apply( lambda x: _convert_cdr_to_diagnosis(x) ) - sessions_df["session_id"] = "ses-M000" + + sessions_df.insert(loc=0, column="session_id", value="ses-M000") return sessions_df