Skip to content

Commit 6159ccd

Browse files
authored
Add Zenodo button and CITATION.cff (#242)
Closes #241. Also: * Replaces `TranslatorSRI` with `NCATSTranslator` in some places. * Adds `/.idea/` to .gitignore. * Adds Zenodo and arXiv buttons to the README.
2 parents ce3fcc6 + a143099 commit 6159ccd

8 files changed

Lines changed: 46 additions & 7 deletions

File tree

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
venv/
22
.vscode/
33
__pycache__/
4-
data/
4+
data/
5+
6+
# IntelliJ files
7+
/.idea/

CITATION.cff

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
cff-version: 1.2.0
2+
type: software
3+
authors:
4+
- family-names: "Bizon"
5+
given-names: "Chris"
6+
email: bizon@renci.org
7+
affiliation: Renaissance Computing Institute, University of North Carolina
8+
orcid: "https://orcid.org/0000-0002-9491-7674"
9+
- family-names: "Vaidya"
10+
given-names: "Gaurav"
11+
email: gaurav@renci.org
12+
affiliation: Renaissance Computing Institute, University of North Carolina
13+
orcid: "https://orcid.org/0000-0003-0587-0454"
14+
- family-names: "Wang"
15+
given-names: "Patrick"
16+
affiliation: Duke University
17+
orcid: "https://orcid.org/0000-0002-6693-6106"
18+
- family-names: "Owen"
19+
given-names: "Phillips"
20+
affiliation: Renaissance Computing Institute, University of North Carolina
21+
orcid: "https://orcid.org/0000-0002-5146-8434"
22+
- family-names: "Kebede"
23+
given-names: "Yaphet"
24+
affiliation: Renaissance Computing Institute, University of North Carolina
25+
orcid: "https://orcid.org/0000-0002-50460246"
26+
title: "Name Resolver"
27+
url: "https://github.com/NCATSTranslator/NameResolution"
28+
repository-code: "https://github.com/NCATSTranslator/NameResolution"
29+
abstract: >-
30+
Name Resolver (Name Lookup or NameRes) takes lexical strings and attempts to map them to identifiers (CURIEs) from a vocabulary or ontology.
31+
license: MIT
32+
identifiers:
33+
- type: doi
34+
value: 10.5281/zenodo.18488923

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Name Resolver
22

3+
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.18488923.svg)](https://doi.org/10.5281/zenodo.18488923) [![arXiv](https://img.shields.io/badge/arXiv-2601.10008-b31b1b.svg)](https://arxiv.org/abs/2601.10008)
4+
35
Name Resolver (Name Lookup or NameRes) takes lexical strings and attempts to map them to identifiers (CURIEs) from a vocabulary or ontology. An optional autocomplete mode (which assumes the query is incomplete) is available,
46
along with many other options. Given a preferred CURIE, the known synonyms of that CURIE can also be retrieved.
57
Multiple results may be returned representing possible conceptual matches, but all of the identifiers have been correctly normalized using the [Node Normalization](https://github.com/NCATSTranslator/NodeNormalization) service.

api/resources/openapi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ info:
1111
along with many other options. Given a preferred CURIE, the known synonyms of that CURIE can also be retrieved.<p/>
1212
Multiple results may be returned representing possible conceptual matches, but all of the identifiers
1313
have been correctly normalized using the
14-
<a href="https://github.com/TranslatorSRI/NodeNormalization">Node Normalization</a> service.<p/>You can read more
14+
<a href="https://github.com/NCATSTranslator/NodeNormalization">Node Normalization</a> service.<p/>You can read more
1515
about this API on the <a href="https://github.com/NCATSTranslator/NameResolution">NameResolution GitHub repository</a>.<p/>
1616
Note that the returned by this service have been conflated using both GeneProtein and DrugChemical conflation;
1717
you can read more about this at the <a href="https://github.com/NCATSTranslator/Babel/blob/master/docs/Conflation.md">Conflation documentation</a>.'

api/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ async def lookup(string: str,
391391
# - https://pypi.org/project/charset-normalizer/
392392
# - https://www.crummy.com/software/BeautifulSoup/bs4/doc/#unicode-dammit
393393
# But the only issue we've actually run into so far has been the Windows smart
394-
# quote (https://github.com/TranslatorSRI/NameResolution/issues/176), so for now
394+
# quote (https://github.com/NCATSTranslator/NameResolution/issues/176), so for now
395395
# let's detect and replace just those characters.
396396
string_lc = re.sub(r"[“”]", '"', re.sub(r"[‘’]", "'", string_lc))
397397

data-loading/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# A NameResolution worker is a SOLR instance that downloads its source file a SOLR database backup.
44
# (see ../Dockerfile and [1] for details). This Dockerfile is intended to create a SOLR instance that can load the
5-
# data from a set of Babel synonym files (see https://github.com/TranslatorSRI/Babel), thus creating the SOLR backup
5+
# data from a set of Babel synonym files (see https://github.com/NCATSTranslator/Babel), thus creating the SOLR backup
66
# which can be uploaded somewhere for the NameResolution workers.
77
#
88
# [1] https://github.com/helxplatform/translator-devops/blob/affcf34cf103230d25bdb859098d2a5ac81a49fb/helm/name-lookup/templates/scripts-config-map.yaml#L8-L105

data-loading/kubernetes/nameres-loading.k8s.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Kubernetes file for Nameres-loading
1+
# Kubernetes file for Nameres-loading
22

33
apiVersion: v1
44
kind: Pod
@@ -10,7 +10,7 @@ spec:
1010
restartPolicy: Never
1111
containers:
1212
- name: nameres-loading
13-
image: ghcr.io/translatorsri/nameresolution-data-loading:latest
13+
image: ghcr.io/ncatstranslator/nameresolution-data-loading:latest
1414
imagePullPolicy: Always
1515
# I just need something to run while I figure out how to make this work
1616
command: [ "/bin/bash", "-c", "--" ]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ services:
3030

3131
# This will use the latest version of NameRes -- if you'd prefer to build an image using the Dockerfile
3232
# in the current directory, remove the `:latest` tag and uncomment the `build:` section that follows it.
33-
image: ghcr.io/translatorsri/nameresolution:latest
33+
image: ghcr.io/ncatstranslator/nameresolution:latest
3434
# build:
3535
# context: .

0 commit comments

Comments
 (0)