From 672511914a96e517b15987af387413f6eb042e99 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Fri, 12 Jul 2024 10:26:34 -0400 Subject: [PATCH] assertion breaking dynamic tool tests... --- lib/galaxy/tool_util/parser/yaml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/galaxy/tool_util/parser/yaml.py b/lib/galaxy/tool_util/parser/yaml.py index b2f293e3cfe2..8e7eaffecb7c 100644 --- a/lib/galaxy/tool_util/parser/yaml.py +++ b/lib/galaxy/tool_util/parser/yaml.py @@ -58,7 +58,7 @@ def parse_version(self) -> Optional[str]: return str(version_raw) if version_raw is not None else None def parse_name(self) -> str: - rval = self.root_dict.get("name") + rval = self.root_dict.get("name") or self.parse_id() assert rval return str(rval)