Dear group, I'm trying to help a colleague use FsFast, a wrapper I wrote in python. When calling preproc-sess, there is an inner call to slicedelay, which calls to a python command:
[cid:image001.png@01D8AB29.B7C046B0]
The syntax is in python2, and my colleague has only python3. If it's only in the print statements, could you please add parenthesis to support python3 syntax?
Thanks! Noam
If you could point to the python script that is called, I can also update the code to support python3.
Thanks, Noam
From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu On Behalf Of Peled, Noam Sent: Monday, August 8, 2022 1:21 PM To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] preproc-sess doesn't support python3
Dear group, I'm trying to help a colleague use FsFast, a wrapper I wrote in python. When calling preproc-sess, there is an inner call to slicedelay, which calls to a python command: [cid:image001.png@01D8AB2B.236821C0]
The syntax is in python2, and my colleague has only python3. If it's only in the print statements, could you please add parenthesis to support python3 syntax?
Thanks! Noam
Hi Noam,
The slicedelay script is located here: https://github.com/freesurfer/freesurfer/blob/dev/scripts/slicedelay
-Paul ________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu on behalf of Peled, Noam NPELED@mgh.harvard.edu Sent: Monday, August 8, 2022 1:31 PM To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] preproc-sess doesn't support python3
If you could point to the python script that is called, I can also update the code to support python3.
Thanks,
Noam
From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu On Behalf Of Peled, Noam Sent: Monday, August 8, 2022 1:21 PM To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Subject: [Freesurfer] preproc-sess doesn't support python3
Dear group,
I’m trying to help a colleague use FsFast, a wrapper I wrote in python.
When calling preproc-sess, there is an inner call to slicedelay, which calls to a python command:
[cid:image001.png@01D8AB2B.236821C0]
The syntax is in python2, and my colleague has only python3.
If it’s only in the print statements, could you please add parenthesis to support python3 syntax?
Thanks!
Noam
Thanks! I'll create a new branch and suggest a new version that supports both python 2 and 3.
Best Noam
From: freesurfer-bounces@nmr.mgh.harvard.edu freesurfer-bounces@nmr.mgh.harvard.edu On Behalf Of Wighton, Paul Sent: Tuesday, August 9, 2022 12:58 PM To: Freesurfer support list freesurfer@nmr.mgh.harvard.edu Subject: Re: [Freesurfer] preproc-sess doesn't support python3
Hi Noam,
The slicedelay script is located here: https://github.com/freesurfer/freesurfer/blob/dev/scripts/slicedelay
-Paul ________________________________ From: freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of Peled, Noam <NPELED@mgh.harvard.edumailto:NPELED@mgh.harvard.edu> Sent: Monday, August 8, 2022 1:31 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Subject: Re: [Freesurfer] preproc-sess doesn't support python3
If you could point to the python script that is called, I can also update the code to support python3.
Thanks,
Noam
From: freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu <freesurfer-bounces@nmr.mgh.harvard.edumailto:freesurfer-bounces@nmr.mgh.harvard.edu> On Behalf Of Peled, Noam Sent: Monday, August 8, 2022 1:21 PM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edumailto:freesurfer@nmr.mgh.harvard.edu> Subject: [Freesurfer] preproc-sess doesn't support python3
Dear group,
I'm trying to help a colleague use FsFast, a wrapper I wrote in python.
When calling preproc-sess, there is an inner call to slicedelay, which calls to a python command:
[cid:image001.png@01D8AC13.AB247940]
The syntax is in python2, and my colleague has only python3.
If it's only in the print statements, could you please add parenthesis to support python3 syntax?
Thanks!
Noam
freesurfer@nmr.mgh.harvard.edu