Skip to content

3D_Scalar Unexpected Error #884

@williams13

Description

@williams13

Plot our test variable "clt" with 3D_Scalar "default". The plot looks fine. However, if you select the bar at the bottom and try to move the slider to the left, you will see the following unexpected error:

Traceback (most recent call last):
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/ButtonBarWidget.py", line 736, in processInteractionEvent
config_function.processInteractionEvent( [ "UpdateConfig", self.getSliderIndex(obj), srep, event ] )
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/ConfigurationFunctions.py", line 793, in processInteractionEvent
self.interactionHandler( args, self )
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/RectilinearGridPlot.py", line 412, in processSlicingCommand
slicePosition.setValue( 'relative', plane_widget.ConvertPositionToRelative( value ) )
File "/Users/williams13/work/uvcdata/build_uvcdat/install/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/DV3D/ImagePlaneWidget.py", line 1001, in ConvertPositionToRelative
rpos = ( position - bounds[0] ) / ( bounds[1] - bounds[0] )
ZeroDivisionError: float division by zero

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions