From fd7cd97e00a29b5afd1a183420acf47059271693 Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 29 Jun 2024 23:37:19 +0100 Subject: [PATCH] continue on error --- petric.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)