Author: bugman Date: Thu Apr 10 16:44:54 2008 New Revision: 5556 URL: http://svn.gna.org/viewcvs/relax?rev=5556&view=rev Log: Added a relax script to regenerate 'test_suite/shared_data/saved_states/basic_single_pipe.bz2'. This can be used when ever this saved state becomes incompatible with relax. Added: 1.3/test_suite/shared_data/saved_states/create_state_basic_single_pipe.py Added: 1.3/test_suite/shared_data/saved_states/create_state_basic_single_pipe.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/shared_data/saved_states/create_state_basic_single_pipe.py?rev=5556&view=auto ============================================================================== --- 1.3/test_suite/shared_data/saved_states/create_state_basic_single_pipe.py (added) +++ 1.3/test_suite/shared_data/saved_states/create_state_basic_single_pipe.py Thu Apr 10 16:44:54 2008 @@ -1,0 +1,18 @@ +# relax script for regenerating the 'basic_single_pipe.bz2' saved state. This is for when the saved +# state becomes incompatible with relax. + +# The relax data store. +from data import Data as ds + + +# Add a data pipe to the data store. +ds.add(pipe_name='orig', pipe_type='mf') + +# Add a single object to the 'orig' data pipe. +ds['orig'].x = 1 + +# Add a single object to the storage object. +ds.y = 'Hello' + +# Save the state. +state.save('basic_single_pipe', force=True)