Hi Mona - Here's how you add something to your Unix path:
https://unix.stackexchange.com/questions/3809/how-can-i-make-a-program-executable-from-everywhere

In your case you'd replace /path/to/file with $ANTSPATH.

Anastasia.


________________________________
From: freesurfer-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Nasiriavanaki, Zahra,M.D. 
<znasiriavan...@mgh.harvard.edu>
Sent: Tuesday, December 7, 2021 1:30 PM
To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] Tracula error

Hi Anastasia,

I did add the ANTs to my path, but am still getting that same error.

I adde the path : setenv ANTSPATH /usr/pubsw/packages/ANTS/2.3.4/bin to the 
.csh file which has all the TRACULA configuration info, and also to the bash 
script that I’m running the trac-all from: export 
ANTSPATH=/usr/pubsw/packages/ANTS/2.3.4/bin

Is there anything else I should do?

Thanks,
Mona


On Dec 6, 2021, at 10:44 AM, Yendiki, Anastasia 
<ayend...@mgh.harvard.edu<mailto:ayend...@mgh.harvard.edu>> wrote:

Hi Mona - You need to add the location of the ANTs executables to your path.

Best,
Anastasia.

________________________________
From: 
freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>
 
<freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>>
 on behalf of Nasiriavanaki, Zahra,M.D. 
<znasiriavan...@mgh.harvard.edu<mailto:znasiriavan...@mgh.harvard.edu>>
Sent: Sunday, December 5, 2021 12:21 PM
To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu> 
<freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>>
Subject: [Freesurfer] Tracula error

Hello,

I’ve been running the trac-all -prep step and I faced this error:

ConvertTransformFile 3 
/autofs/cluster/guptagp/zn025/ALD/subjects/1/dmri/xfms/diff2syn0GenericAffine.mat
 
/autofs/cluster/guptagp/zn025/ALD/subjects/1/dmri/xfms/diff2syn0GenericAffine.txt
 --hm --ras
ConvertTransformFile: Command not found.
Linux bee.nmr.mgh.harvard.edu<http://bee.nmr.mgh.harvard.edu/> 
3.10.0-1160.31.1.el7.x86_64 #1 SMP Thu Jun 10 13:32:12 UTC 2021 x86_64 x86_64 
x86_64 GNU/Linux

trac-preproc exited with ERRORS at Fri Dec  3 14:29:56 EST 2021

Could you please let me know what the problem is? I’m running it in dev 
environment.

Thanks,
Mona


Zahra (Mona) Nasiriavanaki, M.D.
Postdoctoral Research Fellow
Department of Psychiatry | MGH/HMS
Department of Radiology | MGH/HMS
149 13th Street, 149-2615
Boston, MA, USA, 02129

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed. If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at http://www.massgeneralbrigham.org/complianceline . If 
the e-mail was sent to you in error but does not contain patient information, 
please contact the sender and properly dispose of the e-mail.
Please note that this e-mail is not secure (encrypted).  If you do not wish to 
continue communication over unencrypted e-mail, please notify the sender of 
this message immediately.  Continuing to send or respond to e-mail after 
receiving this message means you understand and accept this risk and wish to 
continue to communicate over unencrypted e-mail. 

Reply via email to