Dear Joana, Is it possibly that Python changes somehow that libraries that are loaded, compared with the command line? Cheers, /E
Juan Eugenio Iglesias Senior research fellow CMIC (UCL), MGH (HMS) and CSAIL (MIT) http://www.jeiglesias.com On May 14, 2021, at 06:06, Joana Collet i Fàbregas <joana.col...@gmail.com<mailto:joana.col...@gmail.com>> wrote: External Email - Use Caution Good morning, I am a Biomedical Engineering Student at Universitat de Barcelona and I am creating a python script that has a Watchdog which detects new patients in a specific folder, and we want it to run FS and Hippocampal Subfields. The FS runs properly, but when the script arrives to the Hippocampal Subfields command, it breaks. When using the FreeSurfer's Hippocampal Subfields from a python script after running FS recon-all right before, the processing is not performed due to the error shown in the attatched file. However, when running the Hippocampal Subfields from the terminal it does work. We have even tried to create a watchdog only for the Hippocampal Subfields, and when we move a folder obtained after running FS to a specific folder, it also runs properly. It is only when it is concatenated with FS that it does not work. We have contacted MathWorks Support, but they told us to reach you. The Matlab versions we have are Matlab_R2020a and Matlab_R2014b. Thanks a lot, Joana Collet <hippocampal-subfields-T1 (1).log><matlab_crash_dump.26817-2 - Jupyter Text Editor (1).pdf>_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu<mailto: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 http://www.massgeneralbrigham.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. 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.