From eb81a3f25f08bf1a82c3ad837b678064803170fc Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Tue, 4 Jul 2023 19:35:47 +0200 Subject: [PATCH] Improve NDEx export --- src/biomappings/upload_ndex.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/biomappings/upload_ndex.py b/src/biomappings/upload_ndex.py index 55182971..dee8991c 100644 --- a/src/biomappings/upload_ndex.py +++ b/src/biomappings/upload_ndex.py @@ -31,7 +31,7 @@ def ndex(username, password): cx = NiceCXBuilder() cx.set_name("Biomappings") cx.add_network_attribute( - "description", "Manually curated mappings (skos:exactMatch) between biological entities." + "description", "Manually curated semantic mappings (e.g., skos:exactMatch) between biological entities." ) cx.add_network_attribute("reference", "https://github.com/biomappings/biomappings") cx.add_network_attribute("rights", "Waiver-No rights reserved (CC0)") @@ -42,6 +42,7 @@ def ndex(username, password): for prefix in (mapping["source prefix"], mapping["target prefix"]) } prefixes.add("orcid") + prefixes.add("semapv") cx.set_context({prefix: bioregistry.get_uri_prefix(prefix) for prefix in prefixes}) cx.add_network_attribute("version", get_git_hash())