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

modify setup.py to remove filename.as_posix causing bug #17

Merged

Conversation

abigailalexander
Copy link

This pull modifies the read_requirements_from_here function in setup.py to remove a bug. Currently if a file does not exist and fails the assertation, a string is printed including filename.as_posix. This causes the error AttributeError: 'str' object has no attribute 'as_posix' because filename is a string, and as_posix acts on path objects to convert them to strings. This pull fixes this by removing as_posix

@dylanmcreynolds dylanmcreynolds merged commit 75d8f5b into SciCatProject:main May 13, 2022
@abigailalexander abigailalexander deleted the modify-setup branch May 18, 2022 10:48
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