From 9443a7d08ab170a11bf905def799a209faf99006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Gonz=C3=A1lez=20Duque?= Date: Sun, 5 Oct 2025 08:49:24 +0200 Subject: [PATCH] fix: adds ignores for lambo imports --- pyproject.toml | 5 +---- .../foldx_rfp_lambo/isolated_function.py | 2 +- .../penalized_logp_lambo/isolated_function.py | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 8b6d9d1d..503cc9e2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,7 @@ classifiers = [ ] keywords = ["optimization", "molecular", "discrete", "proteins"] dependencies = [ - "numpy<2", + "numpy", "rdkit", "selfies" ] @@ -55,9 +55,6 @@ ehrlich = [ ehrlichholo = [ "pytorch-holo", ] -tdc = [ - "pytdc==1.1.14", -] dockstring = [ "dockstring" ] diff --git a/src/poli/objective_repository/foldx_rfp_lambo/isolated_function.py b/src/poli/objective_repository/foldx_rfp_lambo/isolated_function.py index b3d47701..e03f3b19 100644 --- a/src/poli/objective_repository/foldx_rfp_lambo/isolated_function.py +++ b/src/poli/objective_repository/foldx_rfp_lambo/isolated_function.py @@ -27,7 +27,7 @@ LAMBO_IN_POLI_OBJECTIVES_PATH = Path.home() / ".poli_objectives" / "lambo" LAMBO_IN_POLI_OBJECTIVES_PATH.mkdir(parents=True, exist_ok=True) -LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve() +LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve() # type: ignore LAMBO_FOLDX_ASSETS_PDBS = [ "1uis_A", diff --git a/src/poli/objective_repository/penalized_logp_lambo/isolated_function.py b/src/poli/objective_repository/penalized_logp_lambo/isolated_function.py index bcf40fc2..80d575c9 100644 --- a/src/poli/objective_repository/penalized_logp_lambo/isolated_function.py +++ b/src/poli/objective_repository/penalized_logp_lambo/isolated_function.py @@ -32,7 +32,7 @@ LAMBO_IN_POLI_OBJECTIVES_PATH = Path.home() / ".poli_objectives" / "lambo" LAMBO_IN_POLI_OBJECTIVES_PATH.mkdir(parents=True, exist_ok=True) -LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve() +LAMBO_PACKAGE_ROOT = Path(lambo.__file__).parent.resolve() # type: ignore def _download_assets_from_lambo():