Hello listmates,
Beginning to explore nipype - really enjoying the flexibility it offers. Am building a pipeline that includes attempting to use ANTS matrix file as input to the spmu.ApplyTransform - not sure SPM will be able to read that anyway, but regardless I will find out :)..
However before I am able to error out SPM, I get the following Matlab error:
######################################################
Executing pyscript_applytransform at 26-Sep-2014 17:04:34:
--------------------------------------------------------------------------------------------------------
MATLAB Version: 8.0.0.783 (R2012b)
MATLAB License Number: 909935
Operating System: Mac OS X Version: 10.8.5 Build: 12F45
Java Version: Java 1.6.0_65-b14-462-11M4609 with Apple Inc. Java HotSpot(TM) 64-Bit Server VM mixed mode
--------------------------------------------------------------------------------------------------------
MATLAB Version 8.0 (R2012b)
Image Processing Toolbox Version 8.1 (R2012b)
Statistical Parametric Mapping Version 5236 (SPM8)
Statistics Toolbox Version 8.1 (R2012b)
Template-O-Matic Toolbox Version 9 (TOM8)
Voxel Based Morphometry Toolbox Version 435 (VBM8)
Standard error:
MATLAB code threw an exception:
Reference to non-existent field 'M'.
File:/Users/ccnc/Desktop/For_MG/script_test/G1/firstlevel/level1pipeline/_subject_id_Sub_001_grp1/xfm/pyscript_applytransform.m
Name:pyscript_applytransform
Line:6
Return code: 0
Interface MatlabCommand failed to run.
Interface ApplyTransform failed to run.
######################################################
I believe it is related to the following line in the pyscript code, "M = inv(transform.M);"
Thoughts?
Best,
Matthew