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

Windows path handling #160

Merged
merged 6 commits into from Sep 28, 2022
Merged

Windows path handling #160

merged 6 commits into from Sep 28, 2022

Conversation

aschroed
Copy link
Member

change handling of paths and the actual aws call taken from SubmitCGAP

@coveralls
Copy link

coveralls commented Sep 27, 2022

Coverage Status

Coverage decreased (-0.05%) to 82.834% when pulling 3ccfec1 on fix_path_handling into e1e6cdf on master.

@aschroed
Copy link
Member Author

See slack thread in the 4DN_infrastructure channel for how and why these changes were made.

@andreacosolo andreacosolo changed the title DRAFT- untested updates for windows handling Windows path handling Sep 28, 2022
Copy link
Collaborator

@andreacosolo andreacosolo left a comment

Choose a reason for hiding this comment

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

Tested on a Windows machine and filename path is handled properly. I also added two tests for posix and windows paths, which seem to pass. Finally, I fixed another bug related to path handling of keyfile on windows, now working again.

Still, file upload fails on windows due to an awscli error. I made a fresh virtual environment with python 3.8.10 and run pip install submit4dn.

(s4dn_test) PS C:\Users\Andrea\GitHub\Submit4DN> aws --version
File association not found for extension .py
Traceback (most recent call last):
  File "C:\Users\Andrea\GitHub\Submit4DN\s4dn_test\Scripts\aws.cmd", line 50, in <module>
    import awscli.clidriver
ModuleNotFoundError: No module named 'awscli'

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.

None yet

3 participants