janis icon indicating copy to clipboard operation
janis copied to clipboard

If a workflow fails during a test, test fail steps are not exited

Open illusional opened this issue 5 years ago • 0 comments

FYI @junyk

I believe this is because a SystemExit error is raised (by calling sys.exit) if the workflow / tool fails to run: https://github.com/PMCC-BioinformaticsCore/janis-assistant/blob/fbcefc665a9a23073830acb8f87cc41ea58bcf8f/janis_assistant/management/workflowmanager.py#L595-L598.

These need to be caught separately.

illusional avatar Jan 13 '21 22:01 illusional