[GRASS-SVN] r66808 - grass-addons/grass7/raster/r.agent/r.agent.rand
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 11 09:57:59 PST 2015
Author: mic
Date: 2015-11-11 09:57:59 -0800 (Wed, 11 Nov 2015)
New Revision: 66808
Modified:
grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
Log:
fix write output map
Modified: grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py
===================================================================
--- grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2015-11-11 17:54:57 UTC (rev 66807)
+++ grass-addons/grass7/raster/r.agent/r.agent.rand/r.agent.rand.py 2015-11-11 17:57:59 UTC (rev 66808)
@@ -133,7 +133,7 @@
position = agent.getposition()
newvalue = world.playground.getcellvalue('RESULT', position) + mark
world.playground.setcellvalue('RESULT', positon, newvalue)
- world.playground.writelayer("copy")
+ world.playground.writelayer("copy", False, overwrite)
def main():
try:
More information about the grass-commit
mailing list