From 4bc1893fd875ac080f4fc77efccabe7bed06994d Mon Sep 17 00:00:00 2001 From: fynnbe Date: Tue, 11 Jun 2024 17:27:36 +0200 Subject: [PATCH] ignore not-applicable compat checks --- bioimageio_collection_backoffice/remote_collection.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bioimageio_collection_backoffice/remote_collection.py b/bioimageio_collection_backoffice/remote_collection.py index 881540ae..a6419ddf 100644 --- a/bioimageio_collection_backoffice/remote_collection.py +++ b/bioimageio_collection_backoffice/remote_collection.py @@ -1154,6 +1154,9 @@ def maybe_swap_with_thumbnail( compat_reports = rv.get_all_compatibility_reports() for r in compat_reports: + if r.status == "not-applicable": + continue + compatible = r.status == "passed" compat[r.tool] = compatible if compatible: