Menu

SVN archive Commit Log


Commit Date  
[r3107] by bugman

Added a variable to the relax data storage object for storing the name of the current data pipe.

2007-03-08 04:51:00 Tree
[r3106] by bugman

Rewrote the __repr__() method of the relax data storage object.

2007-03-08 04:46:36 Tree
[r3105] by bugman

Added a docstring for the __reset__() method of the Data class.

2007-03-08 04:23:29 Tree
[r3104] by bugman

The Data class has been converted from an 'object' type to a 'DictType'.

The Singleton set up has been appropriately modified.

2007-03-08 04:20:20 Tree
[r3103] by bugman

All the statements of the __init__() method of the Data class have been removed.

The __init__() method now does nothing (preventing problems with the Singleton set up). The Data
object has been given a docstring and the unused import statements deleted.

2007-03-08 04:19:16 Tree
[r3102] by bugman

Creation of the RunContainer object.

This file was copied from '__init__.py' as the old top level Data() class setup will be similar to
the new RunContainer object. The Data class has been renamed to RunContainer and the Singleton
setup has been eliminated. The __all__ list object has also been removed.

2007-03-08 04:09:31 Tree
[r3101] by bugman

Renamed 'main.py' to '__init__.py'.

2007-03-08 04:03:57 Tree
[r3100] by bugman

File deletion.

This is in preparation for the replacement of the current '__init__.py' with 'main.py'.

2007-03-08 04:03:25 Tree
[r3099] by bugman

Blocked revisions 3086,3088-3096 via svnmerge

........
r3086 | bugman | 2007-03-06 17:59:38 +1100 (Tue, 06 Mar 2007) | 3 lines

Added the svn:executable property to the unit test runner.
........
r3088 | bugman | 2007-03-07 16:56:48 +1100 (Wed, 07 Mar 2007) | 7 lines

Created the infrastructure for the splitting up of the 'specific_fns.model_free' module.

The directory 'specific_fns/model_free/' has been created and the file 'model_free.py' has been
moved into it. To retain the same 'specific_fns.model_free' module namespace, the '__init__.py'
file of the new directory uses import statements.
........
r3089 | bugman | 2007-03-07 19:36:19 +1100 (Wed, 07 Mar 2007) | 7 lines

Converted the Data() class from the 'data' directory into a singleton.

For more infomation about this usage of the singleton design pattern, see my post at
https://mail.gna.org/public/relax-devel/2007-03/msg00012.html (Message-id:
<7f080ed10703070006s309a1e1do38e621f48d8f6d9e@...>).
........
r3090 | bugman | 2007-03-07 21:30:13 +1100 (Wed, 07 Mar 2007) | 8 lines

Added an import statement to the 'data/__init__.py' file to simplify the module.

The class Data() can now be accessed by typing 'from data import Data' rather than
'from data.main import Data'. This will simplify the usage of this module for the data model
redesign and allow file names in 'data/' to be changed without affecting the operation of the rest
of relax.
........
r3091 | bugman | 2007-03-07 21:31:00 +1100 (Wed, 07 Mar 2007) | 3 lines

Updated many modules to use the new singleton pattern of the 'data.Data' class.
........
r3092 | varioustoxins | 2007-03-08 09:53:19 +1100 (Thu, 08 Mar 2007) | 2 lines

major overhaul, explicit running of individual tests now work
........
r3093 | bugman | 2007-03-08 13:39:35 +1100 (Thu, 08 Mar 2007) | 5 lines

Complete elimination of the references to 'self.relax.data'.

All of relax now handles the singleton design pattern of the relax data storage object, referencing
the global 'relax_data_store' which is set to the reference of the single Data() instance.
........
r3094 | bugman | 2007-03-08 13:40:29 +1100 (Thu, 08 Mar 2007) | 7 lines

The reset() user function has been modified to handle the new data object.

Rather than using the statement 'self.relax.data = Data()', which with the singleton design will
alias 'self.relax.data' back to the data object, a new method 'self.__reset__()' of the data object
is called. This method first deletes the items of the object's __dict__ dictionary key by key and
then reruns the object's __init__() method.
........
r3095 | bugman | 2007-03-08 14:07:02 +1100 (Thu, 08 Mar 2007) | 3 lines

Removal of the assignment of Data() to 'self.relax.data'.
........
r3096 | bugman | 2007-03-08 14:32:44 +1100 (Thu, 08 Mar 2007) | 5 lines

Bug fix.

The relax data storage object was not accessible by the reset() user function.
........

2007-03-08 04:01:18 Tree
[r3098] by bugman

Shifted the __all__ list from '__init__.py' to 'main.py'.

This is in preparation for the replacement of the current '__init__.py' with 'main.py'.

2007-03-08 04:01:04 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.