From 2dc35765caccabbba84671d0cf0df3c46e0f6b04 Mon Sep 17 00:00:00 2001 From: Paul McCarthy <pauld.mccarthy@gmail.com> Date: Tue, 8 Jul 2014 12:14:54 +0100 Subject: [PATCH] ImageDisplay.volume is no longer a user-editable property. It will still be used internally. --- fsl/data/fslimage.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/fsl/data/fslimage.py b/fsl/data/fslimage.py index 0eaa85834..4dd2b8a85 100644 --- a/fsl/data/fslimage.py +++ b/fsl/data/fslimage.py @@ -479,7 +479,6 @@ class ImageDisplay(props.HasProperties): _view = props.VGroup(('enabled', - props.Widget('volume', enabledWhen=is4DImage), 'displayRange', 'alpha', 'rangeClip', @@ -491,9 +490,7 @@ class ImageDisplay(props.HasProperties): 'alpha' : 'Opacity', 'rangeClip' : 'Clipping', 'samplingRate' : 'Sampling rate', - 'cmap' : 'Colour map', - 'volume' : 'Volume' - } + 'cmap' : 'Colour map'} _tooltips = { 'enabled' : 'Enable/disable this image', @@ -502,8 +499,7 @@ class ImageDisplay(props.HasProperties): 'rangeClip' : 'Do not show areas of the image which lie ' 'outside of the display range', 'samplingRate' : 'Draw every Nth voxel', - 'cmap' : 'Colour map', - 'volume' : 'Volume to display (zero-indexed, for 4D images)'} + 'cmap' : 'Colour map'} _propHelp = _tooltips -- GitLab