Unverified Commit 3269758b authored by Marius van den Beek's avatar Marius van den Beek Committed by GitHub
Browse files

Merge pull request #16449 from kysrpex/biotools

[23.0] Fix parsing tool metadata from bio.tools
parents 47b99ae8 b1f7c47b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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