Skip to content

Commit da25a77

Browse files
committed
Disable provenance, typos and fixes
1 parent 5391565 commit da25a77

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/fmri_openfmri.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"""
1414

1515
from nipype import config
16-
config.enable_provenance()
16+
#config.enable_provenance()
1717
from nipype.external import six
1818

1919
from glob import glob
@@ -157,7 +157,7 @@ def analyze_openfmri_dataset(data_dir, subject=None, model_id=None,
157157
name='datasource')
158158
datasource.inputs.base_directory = data_dir
159159
datasource.inputs.template = '*'
160-
datasource.inputs.field_template = {'anat': '%s/anatomy/T1_001.nii.gz',
160+
datasource.inputs.field_template = {'anat': '%s/anatomy/highres001.nii.gz',
161161
'bold': '%s/BOLD/task%03d_r*/bold.nii.gz',
162162
'behav': ('%s/model/model%03d/onsets/task%03d_'
163163
'run%03d/cond*.txt'),
@@ -237,6 +237,7 @@ def get_contrasts(contrast_file, task_id, conds):
237237
modelspec.inputs.input_units = 'secs'
238238

239239
def check_behav_list(behav):
240+
from nipype.external import six
240241
out_behav = []
241242
if isinstance(behav, six.string_types):
242243
behav = [behav]
@@ -438,7 +439,7 @@ def get_subs(subject_id, conds, model_id, task_id):
438439
parser.add_argument("-o", "--output_dir", dest="outdir",
439440
help="Output directory base")
440441
parser.add_argument("-w", "--work_dir", dest="work_dir",
441-
help="Output directory base")
442+
help="Working directory base")
442443
parser.add_argument("-p", "--plugin", dest="plugin",
443444
default='Linear',
444445
help="Plugin to use")

0 commit comments

Comments
 (0)