Hi Andrea,

Thanks for finding this and the fix. I created a pull request that fixes this 
in our dev version.

Best, Martin


On 20. Mar 2024, at 03:17, Boscutti, Andrea <andrea.boscu...@uth.tmc.edu> wrote:



Hello FreeSurfer Developers,
When attempting to run "recon-all -long" in subjects with multiple T1 inputs, I 
get the following error when "longmc" is run:

concatLtas: Undefined variable.
if: Expression Syntax.
Command exited with non-zero status 1

For the entire log, see attached "longmc_error.log".

The following change at line 188 of "freesurfer/bin/longmc" fixes it 
(case-sensitive issue in "$concatLtas"):

set ud = `UpdateNeeded $origvol $CrossList $concatLtas  -->  set ud = 
`UpdateNeeded $origvol $CrossList $ConcatLtas`

Best,

Andrea
<longmc_error.log>

_______________________________________________
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 https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .
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