Menu

SVN archive Commit Log


Commit Date  
[r3169] by bugman

Updated and fixed the 'pipe.delete()' user function.

2007-03-13 03:48:03 Tree
[r3168] by bugman

Created a prototype design pattern as a base class with the __copy__() method.

The prototype __copy__() method simply returns a deepcopy of the object. The PipeContainer,
SpinContainer, ResidueContainer, and MoleculeContainer classes now inherit from the prototype class.

2007-03-13 03:47:39 Tree
[r3167] by bugman

Created the pipe.list() user function for printing a list of all the data pipes.

2007-03-13 03:46:31 Tree
[r3166] by bugman

Created the pipe.switch() user function for switching between data pipes.

Two unit tests were created for the new code - test_switch() and test_switch_fail().

2007-03-13 03:45:47 Tree
[r3165] by bugman

Created the new pipe.current() user function.

2007-03-13 03:45:17 Tree
[r3164] by bugman

The pipe.create() user function now works!

The prompt.pipe module now import the 'generic_fns.pipes' module and executes the create() function.
The system/functional test for this user function now passes and has been updated with runs renamed
to pipes.

2007-03-13 03:43:51 Tree
[r3163] by bugman

Removed the functions not used by relax from the 'generic_fns.pipes' module.

The functions 'eliminate_unused_pipes()' and 'list_of_pipes()' have been deleted as they are not
used anywhere within relax. The unit test for the 'eliminate_unused_pipes()' has also been deleted.

2007-03-13 03:41:54 Tree
[r3162] by bugman

Fixed the setting of the current data pipe so that the 'test_deletion()' unit test passes.

The current data pipe was not being set to None by the 'generic_fns.pipes.delete()' if the deleted
pipe is the current pipe.

2007-03-13 03:41:19 Tree
[r3161] by bugman

Fixed the setting of the current data pipe so that the 'test_creation()' unit test passes.

The current data pipe was not being set to the new data pipe created by the function
'generic_fns.pipes.create()'.

2007-03-13 03:40:20 Tree
[r3160] by bugman

Fixed the 'test_deletion_fail()' unit test.

The error throw was RelaxNoRunError and not RelaxError.

2007-03-13 03:38:54 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.