|
33 | 33 | import nipype.algorithms.rapidart as ra # artifact detection
|
34 | 34 | import nipype.algorithms.modelgen as model # model specification
|
35 | 35 | import nipype.interfaces.matlab as mlab
|
| 36 | + |
36 | 37 | """
|
37 | 38 |
|
38 | 39 | Preliminaries
|
|
51 | 52 | # import nipype.interfaces.matlab as mlab # how to run matlab
|
52 | 53 | # mlab.MatlabCommand.set_default_matlab_cmd("matlab -nodesktop -nosplash")
|
53 | 54 |
|
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') |
55 | 57 |
|
56 | 58 | """The nipype tutorial contains data for two subjects. Subject data
|
57 | 59 | is in two subdirectories, ``s1`` and ``s2``. Each subject directory
|
|
73 | 75 | # Specify the location of the data.
|
74 | 76 | data_dir = os.path.abspath('data')
|
75 | 77 | # Specify the subject directories
|
76 |
| -subject_list = ['s1'] #, 's3'] |
| 78 | +subject_list = ['s1', 's3'] |
77 | 79 | # Map field names to individual subject runs.
|
78 | 80 | info = dict(func=[['subject_id', ['f3','f5','f7','f10']]],
|
79 | 81 | struct=[['subject_id','struct']])
|
@@ -395,4 +397,4 @@ def getstripdir(subject_id):
|
395 | 397 |
|
396 | 398 | if __name__ == '__main__':
|
397 | 399 | l1pipeline.run('MultiProc')
|
398 |
| - #l2pipeline.run('MultiProc') |
| 400 | + l2pipeline.run('MultiProc') |
0 commit comments