Issue #2476: Fix indent error in SmartScript._getGridsResult().
Change-Id: I625d9f0c6c47d51b0ec99bcdb1d8dadeeaddfe67 Former-commit-id: 9e190cf63a11fa641a60f13f8f93baec649d4893
This commit is contained in:
parent
e84d6cf1b5
commit
e1df69e312
1 changed files with 4 additions and 2 deletions
|
@ -50,8 +50,10 @@
|
|||
# so mask can be used with advanced indexing
|
||||
# (e.g. grid[mask] = value)
|
||||
# Oct 07, 2013 2424 randerso remove use of pytz
|
||||
# Oct 29, 2013 2476 njensen Improved getting wx/discrete keys in _getGridResults
|
||||
# Oct 29, 2013 2476 njensen Improved getting wx/discrete keys in _getGridResults
|
||||
# Oct 31, 2013 2508 randerso Change to use DiscreteGridSlice.getKeys()
|
||||
# Nov 07, 2013 2476 dgilling Fix _getGridsResult() for retrieving
|
||||
# Wx/Discrete in First mode.
|
||||
#
|
||||
########################################################################
|
||||
import types, string, time, sys
|
||||
|
@ -485,7 +487,7 @@ class SmartScript(BaseTool.BaseTool):
|
|||
if result[0].dtype != numpy.int8:
|
||||
# scalar
|
||||
result = result[0]
|
||||
else:
|
||||
else:
|
||||
# discrete or weather
|
||||
keys = JUtil.javaObjToPyVal(slice.getKeyList())
|
||||
result.append(keys)
|
||||
|
|
Loading…
Add table
Reference in a new issue