Commit 9836f23d authored by Daniel Scheffler's avatar Daniel Scheffler

Fixed FutureWarning regarding the use of a non-tuple sequence for...

Fixed FutureWarning regarding the use of a non-tuple sequence for multidimensional indexing. Updated version info.
parent b8ada130
Pipeline #3705 passed with stages
in 1 minute and 43 seconds
......@@ -1676,7 +1676,7 @@ class GeoArray(object):
Y, X = imYX[0].tolist()
return self[Y, X, band]
else: # multiple coordinate pairs
return self[imYX.T.tolist() + [band]]
return self[tuple(imYX.T.tolist() + [band])]
def to_mem(self):
"""Reads the whole dataset into memory and sets self.arr to the read data."""
......
__version__ = '0.8.10'
__versionalias__ = '20180115.01'
__version__ = '0.8.11'
__versionalias__ = '20180214.01'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment