[GRASS-SVN] r67932 - grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.optimal

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 24 01:23:13 PST 2016


Author: Giulia
Date: 2016-02-24 01:23:12 -0800 (Wed, 24 Feb 2016)
New Revision: 67932

Modified:
   grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.optimal/r.green.hydro.optimal.py
Log:
r.green: fix bug in the r.green.hydro.optimal in the name of tmp files

Modified: grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.optimal/r.green.hydro.optimal.py
===================================================================
--- grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.optimal/r.green.hydro.optimal.py	2016-02-24 09:17:34 UTC (rev 67931)
+++ grass-addons/grass7/raster/r.green/r.green.hydro/r.green.hydro.optimal/r.green.hydro.optimal.py	2016-02-24 09:23:12 UTC (rev 67932)
@@ -160,10 +160,10 @@
     
     if c:
         msgr.message("\Clean rivers\n")
-        TMPVECT = [("tmprgreen_%i_clean" % os.getpid())]
+        TMPVECT = [("tmprgreen_%i_cleanb" % os.getpid())]
         pid = os.getpid()
-        dissolve_lines(river, "tmprgreen_%i_clean*" % os.getpid())
-        river = "tmprgreen_%i_clean*" % pid
+        dissolve_lines(river, "tmprgreen_%i_cleanb" % os.getpid())
+        river = "tmprgreen_%i_cleanb" % pid
         # number of cell of the river
     # range for the solution
     msgr.message("\Loop on the category of segments\n")



More information about the grass-commit mailing list