External Email - Use Caution        

Good evening Doug,

Thank you for the clarification.

All the best,
Jacob
________________________________
From: freesurfer-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Douglas N. Greve 
<dgr...@mgh.harvard.edu>
Sent: Wednesday, June 1, 2022 8:22 AM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Subject: Re: [Freesurfer] samseg2recon error / missing files

Currently, you'll have to run recon-all to the end in order to run the hippo 
subfield seg

On 5/30/2022 5:55 AM, Jacob Levenstein wrote:

        External Email - Use Caution

Hello Freesurfer team + users,

I am looking to run segmentHA_T1.sh following samseg + samseg2recon, and came 
across this previous thread where it seemed to workout:
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" 
claiming to be 
https://secure-web.cisco.com/1PE3_w3uU6HPkJup9NEwPKSMajN_T2sI-BuQE_CkuRXtvYBajvvF6RJPN0Kip1bMRhCnkMP2BZ3MM_Y4gRG7DW0MwaXPr_52k3MzBjuJFP6v2kD8cAuUN3Ux-tBq8dlFo-sTykD8MltAiV6uSz48JM2A8A8QYsSJgGaz1Ry3zgII05eplsLImPCjP2YUsLmHuDJLX9BhtSR4r_YzeTyhgI1t0xCzSGM96PeBHYQoDZ_PrxP-1pnqlbwQTOrY4xaNmZuTiBccylHjUVvByQ-rbq21melUFG8R7tAQuH9eMWwem0qFATYdFnx5GuIcTtiG4F4iBPLCT7REH1hHrHxxmVA/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg66074.html<https://secure-web.cisco.com/1u2xTmmnCUaxQQuSTDRURAlZzdIaStC1AkxmbcmeQ18lFvUX9K2uWKI-A9qp3cwvFJhZJu1ad-7LSt56tL9oPMTw-bCPlMGmVIEYFftMBifsmhTjMWcghE3o_DFOdGEhjrLAsBmlkQm19bGZVYDvk4ouX75UTHnDp58PHyXBF1yc452zGuux3E4k7RPx70jKpZ3mAQhoGxmSaOrkCPcYfSephzdHjtyo4MC-tW_7-QK5lm11eP6o3Cv0SdOmMqeL-VB7gvriKIObxrWYzIrTkHbWuhTq85QMcEXUNuENKXXN2PZrxsa0GY57xIso6sBfpm3qg6NUpek5wY-O_3b0YFg/https%3A%2F%2Fwww.mail-archive.com%2Ffreesurfer%40nmr.mgh.harvard.edu%2Fmsg66074.html>

Given that I am writing in, I have not yet gotten this to run properly...



Below is my samseg command:

   samseg --t1w ${subject}_${ses}_T1w.nii.gz --sd . --s 
${subject}_${ses}_samseg --refmode t1w --threads 16 --parallel



>From the log file, samseg seems to run correctly,  but once it reaches the 
>samseg2recon steps, I receive the following error:

   ln -sf orig.mgz rawavg.mgz

   ERROR: ln -sf orig.mgz rawavg.mgz

   ERROR: samseg2recon --s ${subject}_${ses}_samseg --tmpdir

   ${SUBJECTS_DIR}/${subject}_${ses}_samseg/mri/samseg/tmp.pyBLVF/tmp.mergeseg 
--cleanup


If I then (re)run samseg2recon on the samseg directory (see cmd below) , I can 
execute the failed lines, and this script completes without error.

   samseg2recon --s ${subject}_${ses}_samseg


However, when I then try to run: segmentHA_T1.sh ${subject}_${ses}_samseg, I 
receive the following error:

   Cannot find wmparc.mgz or norm.mgz or talairach.xfm for the subject.

   Has the subject been procesed with recon-all?



As the error message correctly states, within that subject's dir, I do not have 
an mri/norm.mgz or mri/wmparc.mgz. I do have an 
mri/samseg/transforms/samseg.talairach.xfm, but it is not in the scripts 
expected location/naming convention.


If it is helpful to know:

i. Running recon-all then segmentHA_T1.sh completes without error...

ii. Copy over the mri dir from the recon-all to the samseg subject dir, then 
running segmentHA_T1.sh also completes without error...

iii. I am running Ubuntu 20.04.4, freesurfer-linux-ubunu18x86_64_-7.2.0-20210721


Any idea what may be going wrong with samseg/samseg2recon? I am happy to use 
the workaround listed above, but I suspect there may be a more efficient way, 
and or unintended implications when mixing and matching recon-all and samseg...?



Thank you for your help and insight!



All the best,

Jacob




_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu<mailto:Freesurfer@nmr.mgh.harvard.edu>
https://secure-web.cisco.com/1jNDEjh_jAgUsPHfeuM3OeE_dv9IShmkUj6rCWdS-M-aJMyGyXwAx1nepNx32uxR6bVL7ZNuW4ecJDvkWxARWsAHmQFbAXIEgR3FfDOVDom5aAyLApp_YYKAHnmqMrVhikMz1jMwFQdregrcO4YSvHvnJM3rXJlXdRmmWMWlRaWESZCdkuJdh8u1HwynOsLlbg95IdTzq2IDY6CPVcXU9J82FNhHU2X2ZhEp_e6VhC5XvWi9-oq-UQR5DvO3nKBQDKEypCet46Qrk9W5Iz8sX5mNq736d0hDUIKUjvRx5hU9DcPGT94-nNG22cu7XfesWY0mZCqdxiXXFVBUBA3ph7g/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. 

Reply via email to