Skip to content

Commit d52c782

Browse files
committed
fix: revert back example
1 parent 257a234 commit d52c782

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

examples/fmri_spm.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import nipype.algorithms.rapidart as ra # artifact detection
3434
import nipype.algorithms.modelgen as model # model specification
3535
import nipype.interfaces.matlab as mlab
36+
3637
"""
3738
3839
Preliminaries
@@ -51,7 +52,8 @@
5152
# import nipype.interfaces.matlab as mlab # how to run matlab
5253
# mlab.MatlabCommand.set_default_matlab_cmd("matlab -nodesktop -nosplash")
5354

54-
mlab.MatlabCommand.set_default_paths('/software/matlab/spm12b/spm12b_r5918')
55+
# In case a different path is required
56+
# mlab.MatlabCommand.set_default_paths('/software/matlab/spm12b/spm12b_r5918')
5557

5658
"""The nipype tutorial contains data for two subjects. Subject data
5759
is in two subdirectories, ``s1`` and ``s2``. Each subject directory
@@ -73,7 +75,7 @@
7375
# Specify the location of the data.
7476
data_dir = os.path.abspath('data')
7577
# Specify the subject directories
76-
subject_list = ['s1'] #, 's3']
78+
subject_list = ['s1', 's3']
7779
# Map field names to individual subject runs.
7880
info = dict(func=[['subject_id', ['f3','f5','f7','f10']]],
7981
struct=[['subject_id','struct']])
@@ -395,4 +397,4 @@ def getstripdir(subject_id):
395397

396398
if __name__ == '__main__':
397399
l1pipeline.run('MultiProc')
398-
#l2pipeline.run('MultiProc')
400+
l2pipeline.run('MultiProc')

0 commit comments

Comments
 (0)