Skip to content
Snippets Groups Projects
Commit 4b5889d1 authored by Alan De Smet's avatar Alan De Smet
Browse files

convert tabs to spaces, per style

parent e0647cae
No related branches found
No related tags found
No related merge requests found
......@@ -841,11 +841,11 @@ class GlanceGUIView (QtGui.QWidget) :
"""
if len(variableDataObject.data.shape) == 0:
# This is a simple scalar value. Toss it into an array
# so the following code can cope
newData = variableDataObject.copy()
newData.data = numpy.array([variableDataObject.data.item()])
variableDataObject = newData
# This is a simple scalar value. Toss it into an array
# so the following code can cope
newData = variableDataObject.copy()
newData.data = numpy.array([variableDataObject.data.item()])
variableDataObject = newData
if len(variableDataObject.data.shape) > 0 and len(variableDataObject.data.shape) <= 2 :
......
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