Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[utils] fixing how cprint handles tuples #2

Closed
wants to merge 1 commit into from

Conversation

llevitis
Copy link

This PR fixes how cprint handles tuples as previously the following code would cause the ADNI to BIDS conversion to crash if there were multiple key_preferred_visit.

elif visits[key_preferred_visit] != preferred_visit_name:
cprint('Multiple visits for one timepoint!')
cprint(subject)
cprint(key_preferred_visit)

@llevitis llevitis changed the title fixing how cprint handles tuples [utils] fixing how cprint handles tuples May 28, 2019
@arnaudmarcoux
Copy link
Contributor

arnaudmarcoux commented Jun 3, 2019

Hello,
The converters have been greatly improved (including your suggestion). We recommand that you perform the developper installation ( http://www.clinica.run/doc/Installation/ ) in order to use the dev branch of clinica that contains those modifications. Converters are now less buggy and support multiprocessing.
Thank you for your interest in Clinica !

Arnaud

mdiazmel added a commit that referenced this pull request Apr 17, 2020
Fix MRtrix Tractography node
tharpm95 added a commit to IUSCA/clinica that referenced this pull request Apr 12, 2024
NicolasGensollen pushed a commit that referenced this pull request May 7, 2024
* Fix string handling for ADNI-to-BIDS CSV parsing

* Fix issues that occurred after moving to Linux

* Added FMAP conversion

* Fixed FMAP method

* Incorporate latest Clinica dev with FMAP

* Adjusted per PR comments

* Adjusted per PR comments #2

* Review PR1119

* Remove duplicated function

* Make code more robust, remove duplication

* Pre-commit test

* Fix more linting issues

* Fix additional linting issues

---------

Co-authored-by: AliceJoubert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants