[GRASS-SVN] r64028 - grass-addons/grass7/raster/r.mess
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Jan 9 05:59:12 PST 2015
Author: pvanbosgeo
Date: 2015-01-09 05:59:12 -0800 (Fri, 09 Jan 2015)
New Revision: 64028
Modified:
grass-addons/grass7/raster/r.mess/r.mess.py
Log:
bugfix
Modified: grass-addons/grass7/raster/r.mess/r.mess.py
===================================================================
--- grass-addons/grass7/raster/r.mess/r.mess.py 2015-01-09 09:02:59 UTC (rev 64027)
+++ grass-addons/grass7/raster/r.mess/r.mess.py 2015-01-09 13:59:12 UTC (rev 64028)
@@ -454,6 +454,7 @@
text_file.write(str(cats) + ":" + ipi[cats] + "\n")
text_file.close()
grass.run_command("r.category", quiet=True, map=mod, rules=tmpcat[1], separator=":")
+ os.remove(tmpcat[1])
# mean(IES), where IES < 0
if flk:
@@ -482,7 +483,6 @@
#=======================================================================
os.remove(tmpcol[1])
- os.remove(tmpcat[1])
if __name__ == "__main__":
options, flags = grass.parser()
More information about the grass-commit
mailing list