Commit 7aecb004 authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

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

AtlasDescription.labels list.
parent 670630ec
......@@ -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(, label))
elif atlasDesc.atlasType == 'probabilistic':
Supports Markdown
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