1 |
|
2006-06-27 Frank Koormann <[email protected]> |
2 |
|
|
3 |
|
New Classification "Pattern": Classify text attributes by regexp. |
4 |
|
|
5 |
|
* Thuban/Model/classification.py (class ClassGroupPattern): |
6 |
|
New, group is associated with a regular expression. |
7 |
|
(Classification._compile_classification): Store compiled regexp and |
8 |
|
original group for pattern. |
9 |
|
(Classification.FindGroup): Added pattern. |
10 |
|
|
11 |
|
* Thuban/UI/classifier.py |
12 |
|
(ClassGrid._OnLabelRightClicked, ClassGrid.labelPopup): |
13 |
|
New, add popup to select singleton/pattern. |
14 |
|
(ClassTable.GetRowLabelValue, ClassTable.GetValueAsCustom, |
15 |
|
ClassTable.SetValueAsCustom): Added pattern. |
16 |
|
(ClassTable.__ParseInput): Autodetect singleton/pattern. |
17 |
|
|
18 |
|
* Thuban/Model/save.py (SessionSaver.write_classification): |
19 |
|
Added pattern. |
20 |
|
|
21 |
|
* Thuban/Model/load.py (SessionLoader.start_clpattern, |
22 |
|
SessionLoader.end_clpattern): New, process pattern elements. |
23 |
|
|
24 |
|
* test/test_classification.py (class TestClassGroupPattern): New. |
25 |
|
(TestClassification.test_add_pattern, |
26 |
|
TestClassification.test_multiple_groups_textual, |
27 |
|
TestClassification.test_deepcopy_textual): New. |
28 |
|
(TestClassification.test_multiple_groups_numerical): |
29 |
|
Renamed test_multiple_groups. |
30 |
|
(TestClassification.test_deepcopy_numerical): Renamed test_deepcopy. |
31 |
|
|
32 |
|
* test/test_save.py (SaveSessionTest.testClassifiedLayer): |
33 |
|
Added pattern. |
34 |
|
|
35 |
|
* test/test_load.py (ClassificationTest.TestLayers, TestClassification): |
36 |
|
Added pattern. |
37 |
|
|
38 |
|
* test/test_layer.py |
39 |
|
(TestLayerModification.test_set_classification_textual): New |
40 |
|
(TestLayerModification.test_set_classification_numerical): |
41 |
|
Renamed test_set_classification. |
42 |
|
|
43 |
|
* Doc/manual/thuban-manual.xml: Added pattern to layer classification |
44 |
|
description. |
45 |
|
|
46 |
|
* Resources/XML/thuban-1.1.dtd: Added clpattern element and attribs. |
47 |
|
|
48 |
2006-06-29 Didrik Pinte <[email protected]> |
2006-06-29 Didrik Pinte <[email protected]> |
49 |
|
|
50 |
* Thuban/version.py: Bugfix determination of SQLite, the wright one ! |
* Thuban/version.py: Bugfix determination of SQLite, the wright one ! |