Skip to content
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

Changing PosixPath to WindowsPath when on Windows #96

Closed

Conversation

alexdesiqueira
Copy link
Member

Windows doesn't have PosixPath available. This patch suggested by @bwprice makes the pipeline work properly on Windows machines.
Solves #86.

@@ -87,7 +88,12 @@ def initialize_csv_file(csv_fname):
-------
None
"""
if platform.startswith('win'):
temp = PosixPath
PosixPath = WindowsPath
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only patches in the local namespace, so will it be enough?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That solution was proposed by @bwprice; I don't have a Windows machine around to test it, though. Could you confirm if the pipeline works properly when you use this, Ben?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants