diff options
-rw-r--r-- | gn3/api/metadata.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gn3/api/metadata.py b/gn3/api/metadata.py index 0c5e0a6..fff458c 100644 --- a/gn3/api/metadata.py +++ b/gn3/api/metadata.py @@ -750,6 +750,14 @@ CONSTRUCT { "shortName": "gnt:shortName", "code": "gnt:code", "mappingMethod": "gnt:mappingMethod", + "geneticType": "gnt:geneticType", + "fullName": "skos:prefLabel", + }, + }) + except (RemoteDisconnected, URLError): + return jsonify({}) + + @metadata.route("/groups/<name>", methods=["GET"]) def fetch_group_by_species(name): """Fetch the list of groups""" |