Skip to content

Commit

Permalink
Adding nuisance regressors in the group level analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Jun 17, 2024
1 parent c211819 commit 8ed2c3e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion narps_open/pipelines/team_4SZ2.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(self):
self.group_level_contrasts = [
('group_equal_indifference', 'T', ['equalIndifference', 'equalRange'], [1, 0]),
('group_equal_range', 'T', ['equalIndifference', 'equalRange'], [0, 1]),
('group_comp', 'T', ['equalIndifference', 'equalRange'], [-1, 1])
('group_comparison', 'T', ['equalIndifference', 'equalRange'], [-1, 1])
]

def get_preprocessing(self):
Expand Down Expand Up @@ -356,6 +356,7 @@ def get_group_level_analysis(self):
specify_model = Node(MultipleRegressDesign(), name = 'specify_model')
specify_model.inputs.regressors = regressors
specify_model.inputs.groups = groups
specify_model.inputs.contrasts = self.group_level_contrasts

# FLAMEO Node - Estimate model
estimate_model = Node(FLAMEO(), name = 'estimate_model')
Expand Down

0 comments on commit 8ed2c3e

Please sign in to comment.