Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Zellige-core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IdA Public
Zellige-core
Commits
0a334096
Commit
0a334096
authored
8 months ago
by
Céline TREBEAU
Browse files
Options
Downloads
Patches
Plain Diff
Bug fix : wrong printed values
parent
d20015e8
No related branches found
No related tags found
1 merge request
!41
Resolve "Consider rescaling (binning) large images"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java
+2
-4
2 additions, 4 deletions
...ps/selection/classification/ClassificationParameters.java
with
2 additions
and
4 deletions
src/main/java/fr/pasteur/ida/zellige/steps/selection/classification/ClassificationParameters.java
+
2
−
4
View file @
0a334096
...
@@ -55,14 +55,12 @@ public class ClassificationParameters
...
@@ -55,14 +55,12 @@ public class ClassificationParameters
{
{
if
(
value
<
0
)
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
)
if
(
value
>
255
)
{
{
throw
new
DataValidationException
(
"The value of parameter "
+
name
+
" has to be inferior or equals to 5
0
!"
);
throw
new
DataValidationException
(
"The value of parameter "
+
name
+
" has to be inferior or equals to
25
5!"
);
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment