Skip to content

Commit

Permalink
assertion breaking dynamic tool tests...
Browse files Browse the repository at this point in the history
  • Loading branch information
jmchilton committed Jul 12, 2024
1 parent 5620186 commit 6725119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tool_util/parser/yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6725119

Please sign in to comment.