From ecc2b6ba8adbd3fd1ed7eea34c4c59216e2aacca Mon Sep 17 00:00:00 2001 From: deeenes Date: Fri, 25 Oct 2024 12:12:05 +0200 Subject: [PATCH] fixed ramp imports for mapping after reorganization of ramp module --- pypath/inputs/ramp/__init__.py | 2 ++ pypath/inputs/ramp/_mapping.py | 4 ++++ pypath/inputs/ramp/_rest.py | 3 +++ 3 files changed, 9 insertions(+) diff --git a/pypath/inputs/ramp/__init__.py b/pypath/inputs/ramp/__init__.py index 711969b28..fc383bc57 100644 --- a/pypath/inputs/ramp/__init__.py +++ b/pypath/inputs/ramp/__init__.py @@ -24,3 +24,5 @@ """ from ._sqlite import * +from ._rest import * +from ._mapping import * diff --git a/pypath/inputs/ramp/_mapping.py b/pypath/inputs/ramp/_mapping.py index f57326718..043fc196a 100644 --- a/pypath/inputs/ramp/_mapping.py +++ b/pypath/inputs/ramp/_mapping.py @@ -19,6 +19,10 @@ from __future__ import annotations +from ._sqlite import ramp_raw + +__all__ = ['ramp_mapping'] + def ramp_mapping( id_type_a: str, diff --git a/pypath/inputs/ramp/_rest.py b/pypath/inputs/ramp/_rest.py index da0764bbc..ddaaf2de7 100644 --- a/pypath/inputs/ramp/_rest.py +++ b/pypath/inputs/ramp/_rest.py @@ -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]: