Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Dec 4, 2024
1 parent f72ec75 commit 58eedfe
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions src/pyobo/sources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from class_resolver import ClassResolver

from .antibodyregistry import AntibodyRegistryGetter
from .bigg_metabolite import BIGGMetaboliteGetter
from .bigg_metabolite import BiGGMetaboliteGetter
from .ccle import CCLEGetter
from .cgnc import CGNCGetter
from .chembl import ChEMBLCompoundGetter
Expand Down Expand Up @@ -65,7 +65,7 @@

__all__ = [
"AntibodyRegistryGetter",
"BIGGMetaboliteGetter",
"BiGGMetaboliteGetter",
"CCLEGetter",
"CGNCGetter",
"CIVICGeneGetter",
Expand Down
12 changes: 6 additions & 6 deletions src/pyobo/sources/bigg_metabolite.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""Converter for BIGG."""
"""Converter for BiGG."""

from collections.abc import Iterable

Expand All @@ -11,15 +11,15 @@
from pyobo.utils.path import ensure_df

__all__ = [
"BIGGMetaboliteGetter",
"BiGGMetaboliteGetter",
]

PREFIX = "bigg.metabolite"
URL = "http://bigg.ucsd.edu/static/namespace/bigg_models_metabolites.txt"


class BIGGMetaboliteGetter(Obo):
"""An ontology representation of BIGG Metabolites."""
class BiGGMetaboliteGetter(Obo):
"""An ontology representation of BiGG Metabolites."""

ontology = PREFIX
bioversions_key = "bigg"
Expand Down Expand Up @@ -58,7 +58,7 @@ def _split(x) -> list[str]:


def iterate_terms(force: bool = False, version: str | None = None) -> Iterable[Term]:
"""Iterate terms for BIGG Metabolite."""
"""Iterate terms for BiGG Metabolite."""
bigg_df = ensure_df(
prefix=PREFIX,
url=URL,
Expand Down Expand Up @@ -133,4 +133,4 @@ def iterate_terms(force: bool = False, version: str | None = None) -> Iterable[T


if __name__ == "__main__":
BIGGMetaboliteGetter().write_default(force=True, write_obo=True)
BiGGMetaboliteGetter().cli()

0 comments on commit 58eedfe

Please sign in to comment.