Does orig.mgz exist in /usr/local/freesurfer/7.2.0/subjects/home/mri/orig?
Also be aware that we are phasing out register.dat files in favor or using lta files. Also, the tk tools (tkregister2, tkmedit, tksurfer) are officially depricated. Try using tkregisterfv instead.

On 6/28/2022 4:38 PM, Rachel Wagner wrote:

        External Email - Use Caution

Oh thank you, good catch! I am now encountering the issue below:

developer@developer-VirtualBox:~$ tkregister2 --s home --mov updated.mgz --regheader --reg register.dat --surf orig

tkregister_tcl /usr/local/freesurfer/7.2.0/tktools/tkregister2.tcl

surfname set to orig

INFO: no target volume specified, assuming FreeSurfer orig volume.

target  volume orig

movable volume updated.mgz

reg file       register.dat

LoadVol        1

ZeroCRAS       0

$Id: tkregister2.c,v 1.132.2.1 2016/08/02 21:17:29 greve Exp $

Diagnostic Level -1

ERROR: could not find orig as either mgz or COR

/usr/local/freesurfer/7.2.0/subjects/home/mri/orig

Could this be another typo on my part or should I be using a different path?

Thanks again!

Rachel

*From: *Wighton, Paul <mailto:pwigh...@mgh.harvard.edu>
*Sent: *June 28, 2022 4:36 PM
*To: *freesurfer@nmr.mgh.harvard.edu <mailto:Freesurfer@nmr.mgh.harvard.edu>
*Subject: *Re: [Freesurfer] Command Not Found


        

You don't often get email from pwigh...@mgh.harvard.edu. Learn why this is important <https://secure-web.cisco.com/1jnAu9rZyQoAsHaEXFKNaea_IoqrfNDjTa3fixAdF7c_WZaD8XRsCcN6osTq_CGAreLqRbDx4eZa528eU0R3IlrFdtRmTEhiPM8eWkmKpBzPHCx1MumoGqEPNTLyt9qCEX94kwQgCS6Z1wxx39C4ZoiSu5bP_hiAtdY08XFyA7iBmFcLayc4X_QskxFXP1snp4NASkLp3rXE3mKToDppINnv2nDnG52e091xf29pjQzW46h5-LXZkym2URm3ZRkr2DrY2ksZjAZM2GuLmSn8fm5OrlvNIikiwIUVqjuL-WxawQ6oQRmlHHFoOc50GXYK0/https%3A%2F%2Faka.ms%2FLearnAboutSenderIdentification>

        

Hi Rachel,

Are you trying to run tkregister2?  Looks like you forgot the t at the start of the command.

-Paul

*From:*freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Rachel Wagner <rwag...@uwo.ca>
*Sent:* Tuesday, June 28, 2022 4:29 PM
*To:* freesurfer@nmr.mgh.harvard.edu <Freesurfer@nmr.mgh.harvard.edu>
*Subject:* [Freesurfer] Command Not Found

*        External Email - Use Caution *

Hello,

Thank you for your help! I am trying to register my spm image and am getting the following error:

developer@developer-VirtualBox:~$ kregister2 --s home --mov updated.mgz --regheader --reg register.dat --surf orig

kregister2: command not found

Is my path not set correctly?

Thanks again,

Rachel Wagner


_______________________________________________
Freesurfer mailing list
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 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