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

ENH: Check for existing PV output files before generation #164

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sbelsk
Copy link
Contributor

@sbelsk sbelsk commented Feb 19, 2025

Addresses TODO in #138 (comment).

This change improves the error checking for partial volume generation by warning the user before (potentially) overwriting existing results in the output directories. The provided output paths are checked before the PV generation routine is run so that if the subdirectories contain any existing files, the user is prompted whether or not to continue.

image

This change improves the robustness of the partial volume generation
error checking to avoid overwriting existing results. The provided
output paths are checked before the routine is run, and if they contain
any existing files, the user is prompted whether to continue.
@sbelsk sbelsk requested a review from amymmorton February 19, 2025 20:02
Copy link
Contributor

@amymmorton amymmorton left a comment

Choose a reason for hiding this comment

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

lgtm
image

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