-
Notifications
You must be signed in to change notification settings - Fork 52
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
Cleaning #564
Cleaning #564
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @camillebrianceau ! Looking good !
I made a few small suggestions. Feel free to take or leave.
clinicadl/utils/clinica_utils.py
Outdated
if tracer is not None: | ||
tracer = Tracer(tracer) | ||
|
||
if modality not in Modality: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because you already did modality = Modality(modality)
, you know that modality
is a valid value. No need to check.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* first commirt to clean last PR * add enum file + adapt prepare-data
* first commirt to clean last PR * add enum file + adapt prepare-data
Next PR : creation of config and adaptation of CLi file for the prepare-data pipeline and addition of unittests