Skip to content

Commit

Permalink
Merge pull request galaxyproject#16449 from kysrpex/biotools
Browse files Browse the repository at this point in the history
[23.0] Fix parsing tool metadata from bio.tools
  • Loading branch information
mvdbeek authored Jul 26, 2023
2 parents 47b99ae + b1f7c47 commit 3269758
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/galaxy/tool_util/biotools/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ class BiotoolsEntry:
def from_json(from_json: Dict[str, Any]) -> "BiotoolsEntry":
entry = BiotoolsEntry()
entry.biotoolsID = from_json["biotoolsID"]
entry.topic = from_json["topic"]
entry.function = from_json["function"]
entry.topic = from_json.get("topic", [])
entry.function = from_json.get("function", [])
return entry

@property
Expand Down

0 comments on commit 3269758

Please sign in to comment.