Author: bugman Date: Mon Jan 25 12:13:59 2010 New Revision: 10300 URL: http://svn.gna.org/viewcvs/relax?rev=10300&view=rev Log: Modifications to the phthalic_acid_noes.py system test script to allow for standalone operation. Modified: 1.3/test_suite/system_tests/scripts/phthalic_acid_noes.py Modified: 1.3/test_suite/system_tests/scripts/phthalic_acid_noes.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/phthalic_acid_noes.py?rev=10300&r1=10299&r2=10300&view=diff ============================================================================== --- 1.3/test_suite/system_tests/scripts/phthalic_acid_noes.py (original) +++ 1.3/test_suite/system_tests/scripts/phthalic_acid_noes.py Mon Jan 25 12:13:59 2010 @@ -7,6 +7,14 @@ # relax module imports. from data import Relax_data_store; ds = Relax_data_store() + +# Add a date pipe if one doesn't already exist. +if not ds.keys(): + pipe.create('test', 'N-state') + +# NOE restraint file. +if not hasattr(ds, 'file_name'): + ds.file_name = 'phthalic_acid' # Path of the relaxation data. DATA_PATH = sys.path[-1] + sep+'test_suite'+sep+'shared_data'+sep