[GRASS-SVN] r59005 - grass-addons/grass7/raster/r.threshold

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 11 11:46:27 PST 2014


Author: annakrat
Date: 2014-02-11 11:46:27 -0800 (Tue, 11 Feb 2014)
New Revision: 59005

Modified:
   grass-addons/grass7/raster/r.threshold/r.threshold.py
Log:
r.threshold: fs -> separator parameter of r.stats

Modified: grass-addons/grass7/raster/r.threshold/r.threshold.py
===================================================================
--- grass-addons/grass7/raster/r.threshold/r.threshold.py	2014-02-11 16:25:15 UTC (rev 59004)
+++ grass-addons/grass7/raster/r.threshold/r.threshold.py	2014-02-11 19:46:27 UTC (rev 59005)
@@ -38,7 +38,7 @@
 import grass.script as grass
 
 def main():
-    stats = grass.read_command('r.stats', input = options['acc'], fs = 'space', nv = '*', nsteps = '1000', flags = 'Anc').split('\n')[:-1]
+    stats = grass.read_command('r.stats', input = options['acc'], separator = 'space', nv = '*', nsteps = '1000', flags = 'Anc').split('\n')[:-1]
     
     mappatella = np.zeros((len(stats),3),float)
     



More information about the grass-commit mailing list