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

Add flag to optionally cleanup intermediate files #6

Open
2 tasks
p-j-smith opened this issue Aug 28, 2024 · 0 comments
Open
2 tasks

Add flag to optionally cleanup intermediate files #6

p-j-smith opened this issue Aug 28, 2024 · 0 comments
Labels
enhancement New feature or request priority: low Low priority

Comments

@p-j-smith
Copy link
Collaborator

p-j-smith commented Aug 28, 2024

Motivation

The analysis pipeline creates large intermediate files that can be deleted

Pitch

  • add a flag --cleanup to the analysis script. If set, all intermediate files will be deleted
  • default to not setting the flag

Alternatives

Suggested by Chris via email:

My job failed because I hadn’t specified enough memory. When I tried to rerun it, it failed again because the t1-mni.anat folder already existed which I then had to delete before rerunning I would highly advice to build in an if statement that checks if that folder and necessary files already exist and skip these steps if they exist as having to rerun fsl_anat is quite a waste of time, resources and can alleviate some frustration for the people that have to use the pipeline (on large datasets)

If the --cleanup flag is not set, we could look for and use intermediate files.

Additional context

No response

@p-j-smith p-j-smith added priority: medium Medium priority enhancement New feature or request labels Sep 5, 2024
@K-Meech K-Meech added priority: low Low priority and removed priority: medium Medium priority labels Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority: low Low priority
Projects
None yet
Development

No branches or pull requests

2 participants