1 |
2003-04-16 Jonathan Coles <[email protected]> |
2003-04-16 Jonathan Coles <[email protected]> |
2 |
|
|
3 |
|
Initial putback of projection management code. Includes new |
4 |
|
classes to read and write projection files. The current load |
5 |
|
and save classes were abstracted a bit so they could be reused. |
6 |
|
The Projection class was extended to provide new methods and |
7 |
|
have a name. |
8 |
|
|
9 |
|
* Thuban/Model/load.py (XMLProcessor): New. Contains all the |
10 |
|
general XML reading methods that were part of ProcessSession. |
11 |
|
|
12 |
|
* Thuban/Model/proj.py (Projection.__init__): Accepts an optional |
13 |
|
name. |
14 |
|
(ProjFile): New. Represents a file that contains projection |
15 |
|
information. |
16 |
|
|
17 |
|
* Thuban/Model/resource.py: New. Contains general utilities |
18 |
|
for read and writing projection files. |
19 |
|
|
20 |
|
* Thuban/Model/save.py (XMLSaver): New. Contains all the |
21 |
|
general XML writing methods that were part of SessionSaver. |
22 |
|
(SessionSaver): Renamed from Saver. |
23 |
|
|
24 |
|
* test/test_proj.py: New test cases for the projection |
25 |
|
file read and write functions. |
26 |
|
|
27 |
|
2003-04-16 Jonathan Coles <[email protected]> |
28 |
|
|
29 |
* Thuban/Model/classification.py: Use repr() around values |
* Thuban/Model/classification.py: Use repr() around values |
30 |
in the ClassGroup*.__repr__() methods so it is clearer when |
in the ClassGroup*.__repr__() methods so it is clearer when |
31 |
a value is a string and when it is a number. |
a value is a string and when it is a number. |