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

silly warning about silly problem

parent f7060db4
No related branches found
No related tags found
No related merge requests found
...@@ -576,6 +576,10 @@ class AtlasDescription(object): ...@@ -576,6 +576,10 @@ class AtlasDescription(object):
``ValueError`` is raised otherwise. If an invalid ``index`` or ``ValueError`` is raised otherwise. If an invalid ``index`` or
``value`` is specified, an ``IndexError`` or ``KeyError`` will be ``value`` is specified, an ``IndexError`` or ``KeyError`` will be
raised. raised.
.. note:: A 4D ``ProbabilisticAtlas`` may have more volumes than
labels, and a 3D ``LabelAtlas`` may have more values
than labels.
""" """
if (index is None and value is None) or \ if (index is None and value is None) or \
(index is not None and value is not None): (index is not None and value is not None):
......
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