Skip to content

Commit

Permalink
Improve NDEx export
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Jul 4, 2023
1 parent 2ffcbad commit eb81a3f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/biomappings/upload_ndex.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)")
Expand All @@ -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())
Expand Down

0 comments on commit eb81a3f

Please sign in to comment.