Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
NutriMorph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
DEBREUVE Eric
NutriMorph
Commits
e82a6e87
Commit
e82a6e87
authored
5 years ago
by
NADAL Morgane
Browse files
Options
Downloads
Patches
Plain Diff
created parameters.ini file (todo: clean up) + still working on PySide2 for ImageVerification()
parent
56c71b36
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
brick/processing/input.py
+1
-1
1 addition, 1 deletion
brick/processing/input.py
with
1 addition
and
1 deletion
brick/processing/input.py
+
1
−
1
View file @
e82a6e87
...
...
@@ -47,7 +47,7 @@ def ImageVerification(image: array_t, channel: str) -> array_t:
# Verification of the dimension of the image and its coherence with the parameters (channel)
elif
image
.
ndim
==
3
:
print
(
'
Your
image has only one color channel.
'
)
print
(
'
The
image has only one color channel.
'
)
if
channel
is
not
None
:
raise
ValueError
(
'
The image has only 3 dimensions. However, a value for the
"
channel
"
parameter is
'
'
specified. Give the channel the value None
'
)
...
...
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