Changes the workflow progress bar to always show 100% for workflows that
are in status finished, so that even when some steps are restored from
cache, the progress bar stays consistent with the status of the
workflow.
Run the roofit snakemake demo with reana-client run -w r-snake -f ./reana-snakemake.yaml
Restart the workflow in the same workspace, so that snakemake restores it completely from the cache: reana-client restart r-snake. Verify that the progress bar is at 100% with 0/0 steps (as shown locally by Snakemake)
Edit the code/fitdata.C file (e.g. change a comment) and upload it to the same workspace: reana-client upload -w r-snake code/fitdata.C
Restart the workflow in the same workspace, and this time snakemake will restore only the first step from the cache. Verify that the progress bar is at 100%.
Changes the workflow progress bar to always show 100% for workflows that are in status
finished
, so that even when some steps are restored from cache, the progress bar stays consistent with the status of the workflow.Closes reanahub/reana-workflow-engine-snakemake#62.
How to test cached workflows:
reana-client run -w r-snake -f ./reana-snakemake.yaml
reana-client restart r-snake
. Verify that the progress bar is at 100% with 0/0 steps (as shown locally by Snakemake)code/fitdata.C
file (e.g. change a comment) and upload it to the same workspace:reana-client upload -w r-snake code/fitdata.C