[GRASS-SVN] r59144 - grass/trunk/gui/wxpython/wxplot

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 26 02:30:34 PST 2014


Author: neteler
Date: 2014-02-26 02:30:34 -0800 (Wed, 26 Feb 2014)
New Revision: 59144

Modified:
   grass/trunk/gui/wxpython/wxplot/profile.py
Log:
wxplot/profile.py: fix call of r.profile

Modified: grass/trunk/gui/wxpython/wxplot/profile.py
===================================================================
--- grass/trunk/gui/wxpython/wxplot/profile.py	2014-02-26 08:06:47 UTC (rev 59143)
+++ grass/trunk/gui/wxpython/wxplot/profile.py	2014-02-26 10:30:34 UTC (rev 59144)
@@ -7,7 +7,7 @@
  - profile::ProfileFrame
  - profile::ProfileToolbar
 
-(C) 2011-2012 by the GRASS Development Team
+(C) 2011-2014 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -242,8 +242,8 @@
         ret = RunCommand("r.profile",
                          parent = self,
                          input = raster,
-                         profile = coords,
-                         res = transect_res,
+                         coordinates = coords,
+                         resolution = transect_res,
                          null = "nan",
                          quiet = True,
                          read = True)



More information about the grass-commit mailing list