Skip to content

Commit

Permalink
continue on error
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Jun 29, 2024
1 parent 0c26d84 commit fd7cd97
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion petric.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit fd7cd97

Please sign in to comment.