Skip to content

Commit

Permalink
fixed ramp imports for mapping after reorganization of ramp module
Browse files Browse the repository at this point in the history
  • Loading branch information
deeenes committed Oct 25, 2024
1 parent 0b48ad5 commit ecc2b6b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pypath/inputs/ramp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@
"""

from ._sqlite import *
from ._rest import *
from ._mapping import *
4 changes: 4 additions & 0 deletions pypath/inputs/ramp/_mapping.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

from __future__ import annotations

from ._sqlite import ramp_raw

__all__ = ['ramp_mapping']


def ramp_mapping(
id_type_a: str,
Expand Down
3 changes: 3 additions & 0 deletions pypath/inputs/ramp/_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
import pypath.resources.urls as urls
import pypath.share.curl as curl

__all__ = ['ramp_id_types']


def ramp_id_types(
entity_type: Literal['gene', 'compound'] | None = None,
) -> set[str]:
Expand Down

0 comments on commit ecc2b6b

Please sign in to comment.