Skip to content
Snippets Groups Projects
Commit c2507024 authored by Eleni Mathioulaki's avatar Eleni Mathioulaki
Browse files

minor fixes to wf tests

parent ae19babe
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ class WfBrainscales2Demos(Package):
except Exception as e:
# if the notebook execution fails, re-run notebook to produce output with error
# in case of a cell timeout, don't re-run
if "CellTimeoutError" not in e:
if "CellTimeoutError" not in str(e):
jupyter(*(args+["--allow-errors"]))
raise
......
......@@ -47,7 +47,7 @@ class WfMultiAreaModel(Package):
try:
# execute notebook and save
jupyter(*args)
except ProcessError as e:
except Exception as e:
# if the above fails, re-run notebook to produce output with error
jupyter(*(args+["--allow-errors"]))
raise
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment