External Email - Use Caution
I'm not familiar with that code, but in my 8.2.0 install under /Applications/freesurfer/8.2.0/bin/dissection_photo there is a dissection_photo_gui.sh script which looks like it is expected to be run in the freesurfer environment. So perhaps the PhotoTools WIKI page under the section Dissection Photo GUI should have listed dissection_photo_gui.sh instead of dissection_photo_gui.
- R.
On 7/7/26 06:43, Andy Choi (andy.choi.24@ucl.ac.uk) wrote:
External Email - Use Caution
Hello FreeSurfer developers,
I'm trying to use the PhotoTools workflow described here: https://secure-web.cisco.com/1S5KZ0alyS3_qJzmuz3eanZ5ZGaTPDRjDTccnIZ01h_W3cT...
When I run fiducials_calibration on macOS, the GUI opens and I am able to select the photos and select markers, but it then immediately reports "failed to start Python script".
I tested both FreeSurfer 8.1.0 and 8.2.0 ARM64 installations and saw the same issue. After inspecting, it looks like it is looking for func_fiducials_calibration.py. However, this file does not seem to be anywhere under FREESURFER_HOME.
I also noticed that dissection_photo_gui is not available in the installed package either. I have tried cloning the FreeSurfer GitHub repository and found the missing scripts there but haven't been able to run them without the GUI.
Could you please let me know whether PhotoTools is currently supported in the macOS ARM64 release, and whether there are steps I am currently missing in terms of installation?
FreeSurfer version: freesurfer-macOS-darwin_arm64-8.1.0-20250718-f30dfed Also tested: freesurfer-macOS-darwin_arm64-8.2.0-20260314-d932c45
Platform: macOS (M3)
Darwin MacBook-Pro-95.powerhub 23.3.0 Darwin Kernel Version 23.3.0: Wed Dec 20 21:30:59 PST 2023; root:xnu-10002.81.5~7/RELEASE_ARM64_T6030 arm64
Relevant output: $ which fiducials_calibration
/Applications/freesurfer/8.1.0/bin/fiducials_calibration
$ which dissection_photo_gui
dissection_photo_gui not found
$ find "$FREESURFER_HOME" ( -name "func_fiducials_calibration.py" -o -name "func_fiducials_correction.py" -iname "*dissection_photo*" ) -print
[no output]
$ fiducials_calibration
WARNING: Secure coding is not enabled for restorable state...
"Failed to start python script"
Thank you!
_______________________________________________ Freesurfer mailing list -- freesurfer@nmr.mgh.harvard.edu To unsubscribe send an email to freesurfer-leave@nmr.mgh.harvard.edu https://secure-web.cisco.com/1j7MsnMzpw-5ZWBQehMY_o_tvDufHv9ueix2D1kYZtTzue1... 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://secure-web.cisco.com/1fbIx-iN6s2714OiZv1ybt7qZzQNL8OcGLrMsV1Ve8II3CH... <https://secure-web.cisco.com/1Brn1dBph_8fuZRjMgLBk0JT_olLSVugwQ1U2A3RgKqz8J_...; . 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.