diff --git a/petric.py b/petric.py index 5719173..7fa8b87 100755 --- a/petric.py +++ b/petric.py @@ -170,4 +170,7 @@ def get_data(srcdir=".", outdir=OUTDIR, sirf_verbosity=0): assert issubclass(Submission, Algorithm) for data, metrics in data_metrics_pairs: algo = Submission(data) - algo.run(np.inf, callbacks=metrics + submission_callbacks) + try: + algo.run(np.inf, callbacks=metrics + submission_callbacks) + except Exception as exc: + print(exc)