CoBrALab / optimized_antsMultivariateTemplateConstruction

A re-implementation of antsMultivariateTemplateConstruction2.sh using optimized image pyramid scale-space and qbatch support
Other
22 stars 8 forks source link

"Clean up" mode #47

Open araikes opened 2 years ago

araikes commented 2 years ago

Hi @gdevenyi

Question for you... I built several templates for a study based on subsets of my populations. As result, my "templates" folder is 2.7 terabytes. Assuming that I'm satisfied with the output in "final", is there any merit to keeping the previous stage folders? I would assume that all that's needed is the e.g. nlin/3 and "final" folder (since DBM will look for "final").

Thanks

gdevenyi commented 2 years ago

is there any merit to keeping the previous stage folders?

Nope.

I would assume that all that's needed is the e.g. nlin/3 and "final" folder (since DBM will look for "final").

Correct, final just just a symlink to the final stage run, typically nlin/3

araikes commented 2 years ago

Figured as much.

Thanks.

gdevenyi commented 1 year ago

With the fixing of skipping stages where the model has already been produced, we can now safely delete intermediate files.

Will add an --intermediate-cleanup option, which inserts a rm on all the intermediates we can dispose of as the last command in the shapeupdate stage.