Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
geomultisens
gms_preprocessing
Commits
153dca9c
Commit
153dca9c
authored
Jun 11, 2019
by
Daniel Scheffler
Browse files
Fix.
Signed-off-by:
Daniel Scheffler
<
danschef@gfz-potsdam.de
>
parent
73d0f99c
Pipeline
#4123
failed with stage
in 2 minutes and 9 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gms_preprocessing/algorithms/classification.py
View file @
153dca9c
...
...
@@ -425,7 +425,8 @@ class kNN_SAM_Classifier(SAM_Classifier):
self
.
cmap
.
get_subset
(
zslice
=
slice
(
None
,
1
)),
label_unclassified
,
threshold
,
self
.
angles_deg
[:,
:,
0
]
)
cmap
=
self
.
cmap
cmap
[
cmap_labelled0
==
label_unclassified
]
=
label_unclassified
if
label_unclassified
in
cmap_labelled0
:
cmap
[
cmap_labelled0
==
label_unclassified
]
=
label_unclassified
return
cmap
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment