[Neuroimaging] Distance nipype
Lorenzo Pini
pini.lorenzo2 at gmail.com
Fri Jan 28 09:39:49 EST 2022
Hi all,
I'm using Distance to compute some metrics between two images.
I saw the documentation and the scripts and I tried to run with the
following command:
Distance(self='/home/pnc/Desktop/PinNC_v5/test/T1w_control_005_2_brainFS.nii.gz',
volume1 = 'mydir/test/Image1.nii.gz',
volume2 = 'mydir/test/Image2.nii.gz',
method = "eucl_max")
res = Distance.run()
However, there is an error with the self function:
TypeError: run() missing 1 required positional argument: 'self'
and when I inspect the input I have the following:
mask_volume = <undefined>
method = eucl_min
volume1 = <undefined>
volume2 = <undefined>
What's the problem here?
Thanks
L
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/neuroimaging/attachments/20220128/8d2e1e35/attachment.html>
More information about the Neuroimaging
mailing list