From f9709e5eba0ae8d5b99b5be4c531511313c2a084 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20Gonz=C3=A1lez=20Duque?= Date: Mon, 28 Oct 2024 17:37:10 +0100 Subject: [PATCH] Updates a comment in the warning of ehrlich --- src/poli/objective_repository/ehrlich/register.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/poli/objective_repository/ehrlich/register.py b/src/poli/objective_repository/ehrlich/register.py index 8f7d961..366ce54 100644 --- a/src/poli/objective_repository/ehrlich/register.py +++ b/src/poli/objective_repository/ehrlich/register.py @@ -110,7 +110,7 @@ def __init__( ): warnings.warn( "The EhrlichBlackBox class is deprecated and will be removed in a future version. " - " Please use EhrlichHoloBlackBox after installing with pip install poli[ehrlich].", + " Please use EhrlichHoloBlackBox after installing with pip install poli-core[ehrlich].", DeprecationWarning, ) @@ -444,7 +444,7 @@ def create( """ warnings.warn( "The EhrlichProblemFactory class is deprecated and will be removed in a future version. " - " Please use EhrlichHoloProblemFactory after installing with pip install poli[ehrlich].", + " Please use EhrlichHoloProblemFactory after installing with pip install poli-core[ehrlich].", DeprecationWarning, ) if seed is not None: