bh: thuban/Thuban/UI classgen.py,1.30.2.3,1.30.2.4
cvs@intevation.de
cvs at intevation.de
Wed Dec 15 17:45:32 CET 2004
Author: bh
Update of /thubanrepository/thuban/Thuban/UI
In directory doto:/tmp/cvs-serv31670/Thuban/UI
Modified Files:
Tag: thuban-1-0-branch
classgen.py
Log Message:
(GenQuantilesPanel.__init__): Set the
minimum number of classes to 2. The calculate_quantiles needs at
least two and raises an exception otherwise.
Fixes RT#2549
Index: classgen.py
===================================================================
RCS file: /thubanrepository/thuban/Thuban/UI/classgen.py,v
retrieving revision 1.30.2.3
retrieving revision 1.30.2.4
diff -u -d -r1.30.2.3 -r1.30.2.4
--- classgen.py 28 Sep 2004 20:21:34 -0000 1.30.2.3
+++ classgen.py 15 Dec 2004 16:45:30 -0000 1.30.2.4
@@ -832,8 +832,8 @@
_("Retrieve from Table"))
self.spin_numClasses = wxSpinCtrl(self, -1, style=wxTE_RIGHT)
- self.spin_numClasses.SetRange(1, sys.maxint)
- self.spin_numClasses.SetValue(1)
+ self.spin_numClasses.SetRange(2, sys.maxint)
+ self.spin_numClasses.SetValue(2)
sizer = wxBoxSizer(wxHORIZONTAL)
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)