[GRASS-SVN] r57136 - grass/trunk/gui/wxpython/scripts

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 15 03:42:46 PDT 2013


Author: aghisla
Date: 2013-07-15 03:42:46 -0700 (Mon, 15 Jul 2013)
New Revision: 57136

Modified:
   grass/trunk/gui/wxpython/scripts/vkrige.py
Log:
Fixed variable names in gui script.

Modified: grass/trunk/gui/wxpython/scripts/vkrige.py
===================================================================
--- grass/trunk/gui/wxpython/scripts/vkrige.py	2013-07-15 10:41:38 UTC (rev 57135)
+++ grass/trunk/gui/wxpython/scripts/vkrige.py	2013-07-15 10:42:46 UTC (rev 57136)
@@ -464,10 +464,10 @@
         
         # import data or pick them up
         if self.controller.InputData is None:
-            self.controller.InputData = controller.ImportMap(map = map,
+            self.controller.InputData = self.controller.ImportMap(map = map,
                                                           column = column)
         # fit the variogram or pick it up
-        Formula = controller.ComposeFormula(column = column,
+        Formula = self.controller.ComposeFormula(column = column,
                                             isblock = self.KrigingRadioBox.GetStringSelection() == "Block kriging",
                                             inputdata = self.controller.InputData)
         if hasattr(self, 'VariogramCheckBox') and self.VariogramCheckBox.IsChecked():
@@ -483,7 +483,7 @@
                 if getattr(self, each+'ChextBox').IsChecked(): #@FIXME will be removed when chextboxes will be frozen
                     setattr(self, each.lower(), getattr(self, each+"Ctrl").GetValue())
             
-        self.controller.Variogram = controller.FitVariogram(Formula,
+        self.controller.Variogram = self.controller.FitVariogram(Formula,
                                                          self.controller.InputData,
                                                          model = self.model,
                                                          sill = self.sill,



More information about the grass-commit mailing list