-
Notifications
You must be signed in to change notification settings - Fork 22
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
[X19V] refactorisation #93
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.
Need to take into account excluded particiants from narps_open/data/description/analysis_pipelines_derived_descriptions.tsv
Actually filtering out excluded participant should probably be part of the subject_list setter in the Pipeline class.
@@ -413,10 +413,10 @@ def get_subgroups_contrasts( | |||
if sub_id[-2][-3:] in subject_list: | |||
varcopes_global.append(varcope) | |||
|
|||
return copes_equal_indifference, copes_equal_range, | |||
return (copes_equal_indifference, copes_equal_range, |
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.
Remove changes as they are in #92
[tool.isort] | ||
combine_as_imports = true |
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.
Probably better suited in a separate pr
@@ -7,26 +7,27 @@ | |||
""" | |||
|
|||
from os import remove | |||
from os.path import join, isfile | |||
from os.path import isfile, join | |||
from pathlib import Path |
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.
Maybe only keep the changes thst relevant to this PR and not all the black related things.
|
||
@fixture | ||
def participant_tsv(bids_dir) -> Path: | ||
"""Return the participant tsv file as a DataFrame.""" |
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.
Not sure I used the fixture, but there may be a use case for a method in the Pipeline class to facilitate access to the actual file.
|
||
subgroups_contrasts = Node( | ||
Function( | ||
input_names=["copes", "varcopes", "subject_ids", "participants_file"], |
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.
"subject_ids", "participants_file"
those are not needed anymore: make sure that all Node definition are updated
This Pull Request is related to issue None
Changes proposed in this Pull Request:
Checklist:
main
branch