From 688b08a15aba0e54ed2ae04158dec783b8ce9a03 Mon Sep 17 00:00:00 2001 From: davelopez <46503462+davelopez@users.noreply.github.com> Date: Sat, 2 Nov 2024 14:01:04 +0100 Subject: [PATCH] Add wildcard support for all protocols in visualization checks --- lib/galaxy/visualization/plugins/registry.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/galaxy/visualization/plugins/registry.py b/lib/galaxy/visualization/plugins/registry.py index 2cb480fd15fd..bd293dca85b0 100644 --- a/lib/galaxy/visualization/plugins/registry.py +++ b/lib/galaxy/visualization/plugins/registry.py @@ -316,6 +316,9 @@ def _check_uri_support(self, target_object, supported_protocols: List[str]) -> b if not supported_protocols: return False # no protocols defined, means no support for deferred objects + if "*" in supported_protocols: + return True # wildcard support for all protocols + deferred_source_uri = self._deferred_source_uri(target_object) if deferred_source_uri: protocol = deferred_source_uri.split("://")[0]