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

The --cleanup parameter #22

Open
jeffctaylor opened this issue Jul 29, 2013 · 1 comment
Open

The --cleanup parameter #22

jeffctaylor opened this issue Jul 29, 2013 · 1 comment

Comments

@jeffctaylor
Copy link
Owner

While I generally like programs to be able to run with minimal interaction from the user (preferably none, actually, after the command line parameters have been set), I think the --cleanup parameter should probably ask for confirmation from the user. It only removes certain subdirectories under the images directory specified by the user, but this is still something that can be run by accident, so maybe we should say something like:

The following directories will be removed:
./image_data/registered
./image_data/convolved
./image_data/resampled
Do you wish to proceed (y/n)?

Just as a way of helping to prevent any "oops, wait!" moments.

@sophiathl
Copy link
Collaborator

That sounds very thoughtful - I remember some quite many "oops, wait!" moments of mine!

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

No branches or pull requests

2 participants