Created
January 22, 2018 16:20
-
-
Save anton-khodak/1e34608e5c4bc2c858a1226fe5f2996e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from tests.util import get_data | |
import cwltool.factory | |
import cwltool | |
f = cwltool.factory.Factory(on_error="continue") | |
# fail = f.make(get_data("tests/wf/scatterfail.cwl")) | |
fail = f.make(get_data("tests/wf/wffail.cwl")) | |
try: | |
fail() | |
except cwltool.factory.WorkflowStatus as e: | |
print("wf status") | |
else: | |
print("something else") |
mr-c
commented
Jan 22, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment