1 |
|
2003-07-03 Bernhard Herzog <[email protected]> |
2 |
|
|
3 |
|
* Thuban/Model/transientdb.py (TransientJoinedTable.__init__): |
4 |
|
Update doc-string |
5 |
|
(TransientJoinedTable.create): Do not modify the column objects of |
6 |
|
the input tables in place and copy all columns of the input tables |
7 |
|
into the joined table after all. |
8 |
|
|
9 |
|
* test/test_transientdb.py |
10 |
|
(TestTransientTable.test_transient_joined_table_same_column_name): |
11 |
|
Update to reflect the new behavior |
12 |
|
(TestTransientTable.test_transient_joined_table_with_equal_column_names): |
13 |
|
Update to reflect the new behavior |
14 |
|
(TestTransientTable.test_transient_joined_table_name_collisions_dont_modify_in_place): |
15 |
|
New test case for a bug which modified the column objects in place |
16 |
|
|
17 |
|
2003-07-02 Jonathan Coles <[email protected]> |
18 |
|
|
19 |
|
* Thuban/Model/classgen.py (generate_singletons, |
20 |
|
generate_uniform_distribution, generate_quantiles, |
21 |
|
GenQuantiles0): Make sure maxValue isn't less than |
22 |
|
one, otherwise we could divide by zero. |
23 |
|
|
24 |
|
* test/test_classgen.py (ClassGenTest.doClassRangeTest, |
25 |
|
ClassGenTest.doClassSingleTest): Call doBoundsTest to |
26 |
|
check the end classification groups against the |
27 |
|
proper property values. |
28 |
|
(ClassGenTest.doBoundsTest): New. Checks the first and |
29 |
|
last classification groups to make sure their properties |
30 |
|
are the correct upper and lower bounds for a color ramp. |
31 |
|
|
32 |
|
2003-07-02 Jonathan Coles <[email protected]> |
33 |
|
|
34 |
|
* Thuban/Model/classgen.py (generate_singletons, |
35 |
|
generate_uniform_distribution, generate_quantiles, |
36 |
|
GenQuantiles0): The denominator was one to high when |
37 |
|
calculating the index for the ramp causing the index |
38 |
|
to never to reach one. |
39 |
|
|
40 |
|
2003-07-02 Jonathan Coles <[email protected]> |
41 |
|
|
42 |
|
Changed the singature of ClassGroupRange.__init__ and |
43 |
|
ClassGroupRange.SetRange() so that the min/max values are |
44 |
|
passed as a tuple. This makes a better calling scheme for |
45 |
|
when a Range object is passed instead. |
46 |
|
|
47 |
|
* Thuban/Model/classgen.py: Fixed parameters to |
48 |
|
ClassGroupRange constructor. |
49 |
|
|
50 |
|
* Thuban/Model/classification.py (ClassGroupRange.__init__): |
51 |
|
Consolidate the min/max parameters into a single _range which |
52 |
|
can either be a tuple or a Range object. |
53 |
|
(ClassGroupRange.SetRange): Consolidate the min/max parameters |
54 |
|
into a single _range which can either be a tuple or a Range object. |
55 |
|
|
56 |
|
* Thuban/Model/load.py (SessionLoader.start_clrange): Fix |
57 |
|
call to ClassGroupRange constructor to use a tuple. |
58 |
|
|
59 |
|
* Thuban/Model/layer.py (Layer.SetClassification): Switch |
60 |
|
the classification instance variable to the new class |
61 |
|
before calling _set_layer otherwise subscribers to a |
62 |
|
LAYER_CHANGED event will not see any difference. |
63 |
|
|
64 |
|
* test/test_classification.py: Fix tests of ClassGroupRange |
65 |
|
so that they use the new signature. |
66 |
|
|
67 |
|
* test/test_load.py: Fix use of ClassGroupRange so that it |
68 |
|
uses the new signature. |
69 |
|
|
70 |
|
* test/test_load_0_2.py: Fix use of ClassGroupRange so that it |
71 |
|
uses the new signature. |
72 |
|
|
73 |
|
* test/test_save.py: Fix use of ClassGroupRange so that it |
74 |
|
uses the new signature. |
75 |
|
|
76 |
|
|
77 |
2003-07-01 Jonathan Coles <[email protected]> |
2003-07-01 Jonathan Coles <[email protected]> |
78 |
|
|
79 |
* Thuban/Model/classgen.py: Fixes RTbug #1972, 1971. |
* Thuban/Model/classgen.py: Fixes RTbug #1972, 1971. |