Skip to content

Commit 2a469fe

Browse files
authored
1 parent 199b25d commit 2a469fe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nipype/interfaces/nilearn.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class SignalExtractionInputSpec(BaseInterfaceInputSpec):
4848
'with 4D probability maps.')
4949
include_global = traits.Bool(False, usedefault=True,
5050
desc='If True, include an extra column '
51-
'labeled "global", with values calculated from the entire brain '
51+
'labeled "GlobalSignal", with values calculated from the entire brain '
5252
'(instead of just regions).')
5353
detrend = traits.Bool(False, usedefault=True, desc='If True, perform detrending using nilearn.')
5454

@@ -66,7 +66,7 @@ class SignalExtraction(BaseInterface):
6666
>>> seinterface.inputs.in_file = 'functional.nii'
6767
>>> seinterface.inputs.label_files = 'segmentation0.nii.gz'
6868
>>> seinterface.inputs.out_file = 'means.tsv'
69-
>>> segments = ['CSF', 'gray', 'white']
69+
>>> segments = ['CSF', 'GrayMatter', 'WhiteMatter']
7070
>>> seinterface.inputs.class_labels = segments
7171
>>> seinterface.inputs.detrend = True
7272
>>> seinterface.inputs.include_global = True
@@ -129,7 +129,7 @@ def _process_inputs(self):
129129
global_label_data = self._4d(global_label_data, label_data.affine)
130130
global_masker = nl.NiftiLabelsMasker(global_label_data, detrend=self.inputs.detrend)
131131
maskers.insert(0, global_masker)
132-
self.inputs.class_labels.insert(0, 'global')
132+
self.inputs.class_labels.insert(0, 'GlobalSignal')
133133

134134
for masker in maskers:
135135
masker.set_params(detrend=self.inputs.detrend)

0 commit comments

Comments
 (0)