|
5 | 5 | import logging |
6 | 6 | from collections.abc import Callable, Iterable |
7 | 7 | from datetime import datetime |
8 | | -from typing import TYPE_CHECKING, TypeAlias |
| 8 | +from typing import TypeAlias |
9 | 9 |
|
10 | 10 | import bioversions.utils |
11 | | -from pyobo.constants import ONTOLOGY_GETTERS, OntologyFormat |
12 | 11 | from bioregistry.schema.struct import AnnotatedURL |
13 | 12 |
|
| 13 | +from ..constants import ONTOLOGY_GETTERS, OntologyFormat |
| 14 | + |
14 | 15 | __all__ = [ |
15 | 16 | "VERSION_GETTERS", |
16 | 17 | "cleanup_version", |
|
49 | 50 | "https://w3id.org/lehrplan/ontology/", # like in https://w3id.org/lehrplan/ontology/1.0.0-4 |
50 | 51 | "http://www.ebi.ac.uk/swo/version/", # http://www.ebi.ac.uk/swo/version/6.0 |
51 | 52 | "https://w3id.org/emi/version/", |
52 | | - "https://nfdi4culture.de/ontology/", # https://nfdi4culture.de/ontology/3.0.0 |
53 | | - "http://purls.helmholtz-metadaten.de/mwo/mwo.owl/", # http://purls.helmholtz-metadaten.de/mwo/mwo.owl/3.0.0 |
| 53 | + "https://nfdi4culture.de/ontology/", # https://nfdi4culture.de/ontology/3.0.0 |
| 54 | + "http://purls.helmholtz-metadaten.de/mwo/mwo.owl/", # http://purls.helmholtz-metadaten.de/mwo/mwo.owl/3.0.0 |
54 | 55 | ] |
55 | 56 | VERSION_PREFIX_SPLITS = [ |
56 | 57 | "http://www.ebi.ac.uk/efo/releases/v", |
|
59 | 60 | "http://ontology.neuinfo.org/NIF/ttl/nif/version/", |
60 | 61 | "http://nmrml.org/cv/v", # as in http://nmrml.org/cv/v1.1.0/nmrCV |
61 | 62 | "http://enanomapper.github.io/ontologies/releases/", # as in http://enanomapper.github.io/ontologies/releases/10.0/enanomapper |
62 | | - "https://w3id.org/sulo/sulo-", # as in https://w3id.org/sulo/sulo-0.2.4.ttl |
| 63 | + "https://w3id.org/sulo/sulo-", # as in https://w3id.org/sulo/sulo-0.2.4.ttl |
63 | 64 | ] |
64 | 65 | BAD = { |
65 | 66 | "http://purl.obolibrary.org/obo", |
|
0 commit comments