From 0a33409663d806d7ca6b27482d11656e11f5a471 Mon Sep 17 00:00:00 2001 From: ctrebeau <ctrebeau@pasteur.fr> Date: Thu, 17 Oct 2024 14:29:53 +0200 Subject: [PATCH] Bug fix : wrong printed values --- .../selection/classification/ClassificationParameters.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java b/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java index b724f44..2e4e63c 100644 --- a/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java +++ b/src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java @@ -55,14 +55,12 @@ public class ClassificationParameters { if ( value < 0 ) { - throw new DataValidationException( "The value of parameter " + name + " has to be superior to zero !" ); + throw new DataValidationException( "The value of parameter " + name + " has to be superior or equal to zero !" ); } if ( value > 255 ) { - throw new DataValidationException( "The value of parameter " + name + " has to be inferior or equals to 50!" ); + throw new DataValidationException( "The value of parameter " + name + " has to be inferior or equals to 255!" ); } - - } -- GitLab