-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows paths #4
Comments
Hi Maxim, thanks a lot for the bug report. Would you be able to send upload your ini file? Or an example of the path you're using? |
Hi Anastasia, I am also trying to run SAFE in a Windows OS. I think the problem here is about file paths: several functions in safe_io.py call files as they were in a Linux environment, using "~" to call the User Home Directory for instance, and this is not directly extendable also to a Windows environment. What do you think? |
Hi Edoardo, thanks for the comment! Unfortunately, I don't have a Windows machine to test this out. But my understanding is that |
Actually I am not sure "~" is the only problem. Here I can show you my error message, maybe it can help you:
May it also be related to the use of forward slashes |
sf.load_network()
Fails to work with windows paths in ini file:re.sub
crashes inload_network_from_gpickle
fromsafe_io.py
I think it's due to path concatenation or escaping error
Try using pathlib
The text was updated successfully, but these errors were encountered: