Commit 38ad0f90 authored by Daniel Scheffler's avatar Daniel Scheffler

Fixed wrong copying of bandnames from GeoArray instance within GeoArray.__init__().

Updated version info (v0.7.13).
parent dd642a40
Pipeline #2762 passed with stages
in 1 minute and 40 seconds
......@@ -12,8 +12,8 @@ from .masks import CloudMask # noqa: E402
__author__ = """Daniel Scheffler"""
__email__ = 'danschef@gfz-potsdam.de'
__version__ = '0.7.12'
__versionalias__ = 'v20180222.012'
__version__ = '0.7.13'
__versionalias__ = 'v20180315.1'
__all__ = ['GeoArray',
'BadDataMask',
'NoDataMask',
......
......@@ -91,7 +91,7 @@ class GeoArray(object):
self._initParams = dict([x for x in locals().items() if x[0] != "self"])
self.geotransform = geotransform or self.geotransform
self.projection = projection or self.projection
self.bandnames = bandnames or list(self.bandnames.values())
self.bandnames = bandnames or list(self.bandnames.keys())
self._nodata = nodata if nodata is not None else self._nodata
self.progress = False if progress is False else self.progress
self.q = q if q is not None else self.q
......
......@@ -24,7 +24,7 @@ test_requirements = requirements + ["coverage", "nose", "nose2", "nose-htmloutpu
setup(
name='geoarray',
version='0.7.12',
version='0.7.13',
description="Fast Python interface for geodata - either on disk or in memory.",
long_description=readme + '\n\n' + history,
author="Daniel Scheffler",
......
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