[GRASS-SVN] r69973 - grass-addons/grass7/raster/r.randomforest
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Dec 1 21:28:28 PST 2016
Author: spawley
Date: 2016-12-01 21:28:28 -0800 (Thu, 01 Dec 2016)
New Revision: 69973
Modified:
grass-addons/grass7/raster/r.randomforest/ml_utils.py
Log:
bug fix to makefile r.randomforest
Modified: grass-addons/grass7/raster/r.randomforest/ml_utils.py
===================================================================
--- grass-addons/grass7/raster/r.randomforest/ml_utils.py 2016-12-02 05:23:06 UTC (rev 69972)
+++ grass-addons/grass7/raster/r.randomforest/ml_utils.py 2016-12-02 05:28:28 UTC (rev 69973)
@@ -103,12 +103,12 @@
"""
current = Region()
tmpdir = grass.tempdir()
-
+
# open response raster as rasterrow and read as np array
if RasterRow(response).exist() is True:
roi_gr = RasterRow(response)
roi_gr.open('r')
-
+
if lowmem is False:
response_np = np.array(roi_gr)
else:
More information about the grass-commit
mailing list