[GRASS-SVN] r65378 - grass-addons/grass7/raster/r.recode.attr

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jun 5 10:47:00 PDT 2015


Author: pvanbosgeo
Date: 2015-06-05 10:47:00 -0700 (Fri, 05 Jun 2015)
New Revision: 65378

Modified:
   grass-addons/grass7/raster/r.recode.attr/r.recode.attr.py
Log:
corrected wrong rule rule file naming

Modified: grass-addons/grass7/raster/r.recode.attr/r.recode.attr.py
===================================================================
--- grass-addons/grass7/raster/r.recode.attr/r.recode.attr.py	2015-06-05 12:55:16 UTC (rev 65377)
+++ grass-addons/grass7/raster/r.recode.attr/r.recode.attr.py	2015-06-05 17:47:00 UTC (rev 65378)
@@ -114,9 +114,9 @@
         grass.run_command('r.recode',
                 input = inputmap,
                 output = nmOutput,
-                rules = '.numpy_grass_recode')
+                rules = tmpname)
 
-        os.remove('.numpy_grass_recode')
+        os.remove(tmpname)
 
 
 if __name__ == "__main__":



More information about the grass-commit mailing list