External Email - Use Caution        

Hello, 

I am trying to run trac-all -bedp and I am running into the following error: 

/opt/freesurfer/bin/bedpostx_mgh: 128: /opt/freesurfer/bin/bedpostx_mgh: Syntax error: "(" unexpected


Others have encountered this error previously, and you had advised running bedpostx locally (as oppsoed to bedpostx_mgh). I was wondering, however, if there is a way to still run bedpostx inside trac-all. 

I was looking at the source code for trac-all in your github (branch 7.2), and I noticed that line 611 calls bedpostx_mgh despite being within the "if (! $onpbs)" conditional. Would changing line 611 from: 

          set cmd = (bedpostx_mgh -n $nstick -model 1 $dtdir/dmri)
to 
          set cmd = (bedpostx -n $nstick -model 1 $dtdir/dmri)

fix the problem? 

If it's helpful:
am running on centos7 and my build stamp is: freesurfer-linux-centos7_x86_64-7.2.0-20210720-aa8f76b

Thanks, 
Amy

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.