External Email - Use Caution
Hello FreeSurfer developers,
I'm trying to use the PhotoTools workflow described here: https://secure-web.cisco.com/1f0JHfoKVyitXKFbtrfb2mHr5U9i83u-MdcT2voziN6ZmRZ...https://secure-web.cisco.com/1ht75mQag4ubHK8uSY51Oi4Zgdcltw8NMESb59S5n2XFbLfztMqDD-OdIinnK6jApdYVE-GUV3yZA6UJjetQYHcxeHIbu2jQhgDvL0vr-QzNfof_utGWon3EqLP2qz_VopMnhbfhbiLvPQkn17CiDr7muv9ABSjCnhDKY9u4j3FXNz68FbiXU1NTErGgdOT1JEa5e1dIBBYPo6Mjykmbb2RvCFEg-o849AFsyqifpuuXEtvDtOJQ3thlKLg-An5vAC3c2ioDlJfZaW4nlxAv6OUewRPib2J8ULF7Jw9U5e2PQn4FZ5VNcUbNFPMocMVZg13utaItri7UwChganaqg5g/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FPhotoTools
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?
1. FreeSurfer version: freesurfer-macOS-darwin_arm64-8.1.0-20250718-f30dfed Also tested: freesurfer-macOS-darwin_arm64-8.2.0-20260314-d932c45 2. Platform: macOS (M3) 3. 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 4. 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@nmr.mgh.harvard.edu