Skip to content

Commit

Permalink
80GC group analysis select files using Calc
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Apr 3, 2024
1 parent c42bad4 commit fc23506
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions narps_open/pipelines/team_80GC.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
from narps_open.pipelines import Pipeline
from narps_open.data.participants import get_group
from narps_open.core.common import (
remove_file, list_intersection, elements_in_string, clean_list
list_intersection, elements_in_string, clean_list
)
from narps_open.core.interfaces.afni import Ttestpp, SelectDataset
from narps_open.core.interfaces.afni import Ttestpp

class PipelineTeam80GC(Pipeline):
""" A class that defines the pipeline of team 80GC. """
Expand Down Expand Up @@ -483,11 +483,7 @@ def get_group_level_analysis(self):

# SELECT DATASET - Split output of 3dttest++
select_output = MapNode(Calc(), name = 'select_output', iterfield = 'expr')
select_output.inputs.expr = [
'a\'[equalRange-equalIndiffe_Zscr]\'',
'a\'[equalRange_Zscr]\'',
'a\'[equalIndiffe_Zscr]\''
]
select_output.inputs.expr = ['a\'[0]\'', 'a\'[1]\'', 'a\'[2]\'']
select_output.inputs.out_file = 'group_level_tsat.nii'
select_output.inputs.outputtype = 'NIFTI'
group_level.connect(t_test, 'out_file', select_output, 'in_file_a')
Expand Down

0 comments on commit fc23506

Please sign in to comment.