Skip to content
Snippets Groups Projects
Commit 7aecb004 authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

BF: Another fix - label atlas value does not correspond to its index in the

AtlasDescription.labels list.
parent 670630ec
No related branches found
No related tags found
No related merge requests found
......@@ -315,7 +315,7 @@ def ohi(namespace):
labels = labels[0]
if labels is None: label = 'Unclassified'
else: label = atlasDesc.labels[int(labels)].name
else: label = atlasDesc.find(value=int(labels)).name
print('<b>{}</b><br>{}'.format(atlasDesc.name, label))
elif atlasDesc.atlasType == 'probabilistic':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment