Skip to content

Commit

Permalink
Add wildcard support for all protocols in visualization checks
Browse files Browse the repository at this point in the history
  • Loading branch information
davelopez committed Nov 2, 2024
1 parent 4be350b commit 688b08a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/visualization/plugins/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 688b08a

Please sign in to comment.