ENHANCE-PET / FALCON

FALCON is a Python-based software application designed to facilitate PET motion correction, both for head and total-body scans. Our program is built around the fast 'greedy' registration toolkit, which serves as the registration engine. With FALCON, users can enjoy a streamlined experience for implementing motion correction.
GNU General Public License v3.0
38 stars 6 forks source link

set permission error on windows #52

Closed phimoh closed 7 months ago

phimoh commented 7 months ago

Hi :), when I try to run it on the Windows desktop of my institution where i don't have admin rights, i get ERROR [file_utilities.py:65] Could not set permissions for C:\Users\mohrp\AppData\Local\anaconda3\envs\bin\falcon-windows-x86_64\greedy.exe on Windows

is it really necessary to set subprocess.check_call(["icacls", file_path, "/grant", "Everyone:(F)"]) ?

kind regards, Philipp

Keyn34 commented 7 months ago

Hi @phimoh,

In my experience, it should work just fine without it. In your site-packages directory for falcon, try exchanging that line for a simple pass and try it again! Let me know if that works.

phimoh commented 7 months ago

thanks, it worked! :)