diff --git a/fsl/scripts/atlasq.py b/fsl/scripts/atlasq.py index 502965767c1aa1e972abd46fac89b87ff029ff82..4b87509c03c44216e36017e229735543ec167456 100644 --- a/fsl/scripts/atlasq.py +++ b/fsl/scripts/atlasq.py @@ -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':