aramis-lab / clinica

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

Move `read_participant_tsv` function and make it private #1129

Closed NicolasGensollen closed 2 months ago

NicolasGensollen commented 2 months ago

The utility function read_participant_tsv() is actually a public function from the clinica.utils.filemanip module:

https://github.com/aramis-lab/clinica/blob/4b1c2a4743b4d7f6d4d06804fb5a3c49bc8f5096/clinica/utils/filemanip.py#L431-L437

even though it is only used within the get_subject_session_list() function from the clinica.utils.participants module.

https://github.com/aramis-lab/clinica/blob/4b1c2a4743b4d7f6d4d06804fb5a3c49bc8f5096/clinica/utils/participant.py#L178-L181

We probably should move it to clinica.utils.participants and make it private.