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

concat.py now ensures outdir exists #411

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

mabruzzo
Copy link
Collaborator

Previously, concat.py would fail if the output directory didn't already exist. Now it will try to create the output directory. This intentionally refuses to recursively create directories.

  • In my experience, refusing to recursively create directories is a good way to catch typos (while providing convenince)
  • If recursive creation of directories is a desired behavior, we can easily add it.

Previously, `concat.py` would fail if the output directory didn't
already exist. Now it will try to create the output directory. This
intentionally refuses to recursively create directories.
- In my experience, refusing to recursively create directories is a good
  way to catch typos (while providing convenince)
- If recursive creation of directories is a desired behavior, we can
  easily add it.
@evaneschneider evaneschneider self-requested a review January 24, 2025 20:27
Copy link
Collaborator

@evaneschneider evaneschneider left a comment

Choose a reason for hiding this comment

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

Looks good!

@evaneschneider evaneschneider merged commit cbd1c66 into cholla-hydro:dev Jan 30, 2025
11 checks passed
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