Dear all,
I can't run SGE plugin from any python code, but it seems that my SGE is working fine outside python and nipype. For example I get the following error on ExtractROI:
TraitError: Cannot set the undefined 'plugin' attribute of a 'ExtractROIInputSpec' object.
Here is my code:
1 import nipype$
2 from nipype.interfaces import fsl$
3 for i in range(0,90):$
4 if i>=0 and i<35:$
5 group = 'Controls'$
6 elif i>=35 and i<60:$
7 group = 'MS'$
8 else:$
9 group ='NMO'$
10 fslroi = nipype.interfaces.fsl.utils.ExtractROI(in_file='all_FA_skeletonised.nii.gz', roi_file='%s_%d_FA_skletonized.nii.gz' %(group, i), t_min=i, t_size=1)$
11 fslroi.run(plugin='SGE')$
12 print 'subject %d in group %s extracted' %(i, group)$
Do I have to import a specific library in advance? On nipype documentation it seems that the code should run seamlessly without importing any extras (other than nipype itself)?
Thanks in advance for your response.
All the best,
-Arma