Skip to content

Commit 91077e8

Browse files
committed
Up
1 parent 26798a4 commit 91077e8

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/pyobo/constants.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -288,12 +288,6 @@ def _get_jskos_download(prefix: str) -> str | None:
288288
return bioregistry.get_jskos_download(prefix)
289289

290290

291-
def _get_skos_download(prefix: str) -> str | AnnotatedURL | None:
292-
import bioregistry
293-
294-
return bioregistry.get_skos_download(prefix, get_format=True)
295-
296-
297291
#: Functions that get ontology files. Order matters in this list,
298292
#: since order implicitly defines priority
299293
ONTOLOGY_GETTERS: list[tuple[OntologyFormat, Callable[[str], str | AnnotatedURL | None]]] = [

src/pyobo/struct/generic_rdf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def get_typedef(graph: rdflib.Graph, node: URIRef, converter: curies.Converter)
167167
return typedef
168168

169169

170-
def _demo():
170+
def _demo() -> None:
171171
import pystow
172172

173173
url = "https://nfdi4ing.pages.rwth-aachen.de/metadata4ing/metadata4ing/ontology.ttl"

0 commit comments

Comments
 (0)