Commit 5bd37c1e authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Fixed FutureWarning for numpy>1.16: arrays to stack must be passed as a...

Fixed FutureWarning for numpy>1.16: arrays to stack must be passed as a "sequence" type such as list or tuple. Updated version info.
parent e256556e
Pipeline #3707 passed with stages
in 2 minutes and 13 seconds
......@@ -914,7 +914,7 @@ class SensorMapGeometryTransformer3D(object):
result = [self._to_map_geometry_2D(argsdict) for argsdict in args]
band_inds = list(np.array(result)[:, -1])
data_mapgeo = np.dstack((result[band_inds.index(i)][0] for i in range(data.shape[2])))
data_mapgeo = np.dstack([result[band_inds.index(i)][0] for i in range(data.shape[2])])
out_gt = result[0][1]
out_prj = result[0][2]
......@@ -964,6 +964,6 @@ class SensorMapGeometryTransformer3D(object):
result = [self._to_sensor_geometry_2D(argsdict) for argsdict in args]
band_inds = list(np.array(result)[:, -1])
data_sensorgeo = np.dstack((result[band_inds.index(i)][0] for i in range(data.shape[2])))
data_sensorgeo = np.dstack([result[band_inds.index(i)][0] for i in range(data.shape[2])])
return data_sensorgeo
__version__ = '0.14.8'
__versionalias__ = '20190121_01'
__version__ = '0.14.9'
__versionalias__ = '20190214_01'
......@@ -32,7 +32,7 @@ setup(
package_dir={'py_tools_ds': 'py_tools_ds'},
include_package_data=True,
install_requires=requirements,
license="GNU General Public License v3",
license="GNU General Public License v3 (GPLv3)",
zip_safe=False,
keywords='py_tools_ds',
classifiers=[
......@@ -47,6 +47,7 @@ setup(
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
test_suite='tests',
tests_require=test_requirements,
......
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