Author: bugman Date: Thu Nov 22 17:40:25 2007 New Revision: 3824 URL: http://svn.gna.org/viewcvs/relax?rev=3824&view=rev Log: Renamed valid_sequence() to validate_sequence() and called it from within the read() fn. Modified: 1.3/generic_fns/sequence.py Modified: 1.3/generic_fns/sequence.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/sequence.py?rev=3824&r1=3823&r2=3824&view=diff ============================================================================== --- 1.3/generic_fns/sequence.py (original) +++ 1.3/generic_fns/sequence.py Thu Nov 22 17:40:25 2007 @@ -72,6 +72,8 @@ cdp = relax_data_store[relax_data_store.current_pipe] # Test if the sequence data is valid. + validate_sequence(file_data) + # Add the run to 'relax_data_store.res'. relax_data_store.res.add_list(run) @@ -97,7 +99,7 @@ return False -def valid_sequence(data): +def validate_sequence(data): """Function for testing if the sequence data is valid. The only function this performs is to raise a RelaxError if the data is invalid.