........
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.
........