Commit 153dca9c authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files
parent 73d0f99c
Pipeline #4123 failed with stage
in 2 minutes and 9 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment