Added the --overwrite flag to fah-xchem generate-artifacts that defaults to False. By default this command will now only regenerate snapshots and figures for run directories that are missing a file generated by this approach.
The intent is that this should cut down on the run time of fah-xchem generate-artifacts, since run data shouldn't change and therefore most artifacts don't ever need to be remade.
This new behavior can be overridden with --overwrite=True, giving the existing behavior.
Todos
[ ] Add tests for new behavior, if possible at this time
Description
This PR addresses #124.
Added the
--overwrite
flag tofah-xchem generate-artifacts
that defaults toFalse
. By default this command will now only regenerate snapshots and figures forrun
directories that are missing a file generated by this approach.The intent is that this should cut down on the run time of
fah-xchem generate-artifacts
, since run data shouldn't change and therefore most artifacts don't ever need to be remade.This new behavior can be overridden with
--overwrite=True
, giving the existing behavior.Todos
Status