Resume on error
The recently introduced resume
command is not that ergonomic in some contexts, like when the command failed you just want to re-run with the same command (using your history or re-running a script). This resume
is more useful when on the contrary you don't want to have to remember the actual command you used.
Here's a proposal:
- keep the
resume
command "as is" - allow to re-run an analysis using the same command
- this means that
pelican scan
, on finding a previous run in the output dir, has to check if the current options are compatible with the previous run- a different number of threads
- a different filter threshold is allowed (should we only allow a higher one?)
- in all cases we have to verify the list of alignments, and allow it to change. It's also necessary to check (using MD5) that alignment have not changed.
- for once, display more warnings when resuming
- if the options in the new invocations are incompatible with the old ones, complain and fail.
@all I'd like to hear your opinion on this before starting the implementation.