/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1349 by jonathan, Tue Jul 1 16:12:38 2003 UTC revision 1363 by jonathan, Wed Jul 2 12:59:42 2003 UTC
# Line 1  Line 1 
1    2003-07-02  Jonathan Coles   <[email protected]>
2    
3            * Thuban/Model/classgen.py (generate_singletons,
4            generate_uniform_distribution, generate_quantiles,
5            GenQuantiles0): Make sure maxValue isn't less than
6            one, otherwise we could divide by zero.
7    
8            * test/test_classgen.py (ClassGenTest.doClassRangeTest,
9            ClassGenTest.doClassSingleTest): Call doBoundsTest to
10            check the end classification groups against the
11            proper property values.
12            (ClassGenTest.doBoundsTest): New. Checks the first and
13            last classification groups to make sure their properties
14            are the correct upper and lower bounds for a color ramp.
15    
16    2003-07-02  Jonathan Coles   <[email protected]>
17    
18            * Thuban/Model/classgen.py (generate_singletons,
19            generate_uniform_distribution, generate_quantiles,
20            GenQuantiles0): The denominator was one to high when
21            calculating the index for the ramp causing the index
22            to never to reach one.
23    
24    2003-07-02  Jonathan Coles   <[email protected]>
25    
26            Changed the singature of ClassGroupRange.__init__ and
27            ClassGroupRange.SetRange() so that the min/max values are
28            passed as a tuple. This makes a better calling scheme for
29            when a Range object is passed instead.
30    
31            * Thuban/Model/classgen.py: Fixed parameters to
32            ClassGroupRange constructor.
33    
34            * Thuban/Model/classification.py (ClassGroupRange.__init__):
35            Consolidate the min/max parameters into a single _range which
36            can either be a tuple or a Range object.
37            (ClassGroupRange.SetRange): Consolidate the min/max parameters
38            into a single _range which can either be a tuple or a Range object.
39    
40            * Thuban/Model/load.py (SessionLoader.start_clrange): Fix
41            call to ClassGroupRange constructor to use a tuple.
42    
43            * Thuban/Model/layer.py (Layer.SetClassification): Switch
44            the classification instance variable to the new class
45            before calling _set_layer otherwise subscribers to a
46            LAYER_CHANGED event will not see any difference.
47    
48            * test/test_classification.py: Fix tests of ClassGroupRange
49            so that they use the new signature.
50    
51            * test/test_load.py: Fix use of ClassGroupRange so that it
52            uses the new signature.
53    
54            * test/test_load_0_2.py: Fix use of ClassGroupRange so that it
55            uses the new signature.
56    
57            * test/test_save.py: Fix use of ClassGroupRange so that it
58            uses the new signature.
59    
60    
61  2003-07-01  Jonathan Coles   <[email protected]>  2003-07-01  Jonathan Coles   <[email protected]>
62    
63          * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.          * Thuban/Model/classgen.py: Fixes RTbug #1972, 1971.

Legend:
Removed from v.1349  
changed lines
  Added in v.1363

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26