External Email - Use Caution The issue presents in the same way when running "recon-all -long" in Fedora linux.
As per my message above, modifying "freesurfer/bin/longmc" resolves it. Best, Andrea ________________________________ From: fsbuild <fsbu...@contbay.com> Sent: Tuesday, March 19, 2024 10:13 PM To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] Bug reporting - longmc: case-sensitive issue in variable External: Increase caution when handling links and attachments. On Ubuntu linux the default shell may still be “dash” and not the “bash” shell. Dash cannot parse all bash scripting, so type “bash” or try setting “bash” to be your default shell and then run commands. - R. On Mar 19, 2024, at 22:17, Boscutti, Andrea <andrea.boscu...@uth.tmc.edu> wrote: External Email - Use Caution 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<mailto:freesur...@nmr..mgh.harvard.edu> https://secure-web.cisco.com/1CxZQT6CEbDxyBag0SXHhWAt2Edm7xMLYpDEVuBZBnWyblYC7v6PZ6hqS1j9b-G_SDQYhmFTe1PARGyMmc35QyqsWxyz5FOOQ_P8oeCY9RMsFsfJQtYMd8oNLiCx3mnQsQjUDOuYaEwlFbgrnrKBWIbIKRPwhBV82c1mEM3eLo_blqpb9jC-unrxtJs_SPOomxBNal4fmqwN9iaoB2C5pz-W0zdpHMJafAO_WjD2mTyQah96zszXkDOfZsPG4_pFndHgDk8XYnLw5AlnlEhHzLGJRPPNkeBs9GRMP3oNaxHs_hvks00is195MWy4a3z0tClQIYxA87nGtnDJ3D55oXQ/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Ffreesurfer
_______________________________________________ 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.