pepkit / looper

A job submitter for Portable Encapsulated Projects
http://looper.databio.org
BSD 2-Clause "Simplified" License
20 stars 7 forks source link

What is the difference between preview_flag and dry_run for Cleaner and Destroyer ? #359

Closed vreuter closed 1 year ago

vreuter commented 1 year ago

At first glance, these flags (one a direct parameter in __call__ and the other an indirect parameter as an attribute on the argument passed to the args parameter) appear to do identical things: namely, they stop the would-be execution process (destruction or cleaning) before it actually runs. Is there some difference? If not, can we condense these implementations? @nsheff

vreuter commented 1 year ago

OK, nevermind, I see the difference.