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

Update os dir naming for images #157

Merged
merged 4 commits into from
Jul 25, 2023
Merged

Update os dir naming for images #157

merged 4 commits into from
Jul 25, 2023

Conversation

rbiseck3
Copy link
Contributor

@rbiseck3 rbiseck3 commented Jul 25, 2023

Description

Current approach causes issues when a file is passed in without an extension, causing the os.makedirs to raise an exception because it tried to create a dir of the same name as an existing file. This appends a suffix to that dir name to avoid such conflicts.

Also adds a docker setup to allow unit tests to run on it and avoid potential OS or python env issues running it locally.

@rbiseck3 rbiseck3 marked this pull request as ready for review July 25, 2023 18:06
@rbiseck3 rbiseck3 merged commit 64870de into main Jul 25, 2023
8 checks passed
@rbiseck3 rbiseck3 deleted the roman/image-dir-fix branch July 25, 2023 18:20
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