External Email - Use Caution        

you cannot run tksurferfv with a tcl script. tksurferfv is just a frontend for freeview that will take tksurfer-like options.

On 5/26/2023 9:54 AM, Robert Terziev wrote:

        External Email - Use Caution        

Hello,

I am trying to run an old script from the ENIGMA webpage, that was based on freesurfer 5.1 and uses tksurfer

Here is a code excerpt:
tksurfer $sub lh pial -tcl tmp.tcl
echo "labl_import_annotation \"aparc.annot\"" > tmp.tcl
echo "scale_brain 1.35" >> tmp.tcl
echo "redraw" >> tmp.tcl
echo "save_tiff "$QCdir/$sub/"rh.lat.hr.tif" >> tmp.tcl


I have found that I could try to use tksurferfv instead, but then I get the error message
Option 'tcl' not recognized. Run 'freeview -h' for more information.
Running 'freeview -h', I don’t find a solution.

Is there a workaround for that problem?

Thank you very much in advance.
Kind regards
Robert

Freesurfer Version: freesurfer-darwin-macOS-7.2.0-20210713-aa8f76b
Plattform: macOS Ventura v13.3.1

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer