Author: bugman Date: Thu Feb 7 13:42:25 2008 New Revision: 4932 URL: http://svn.gna.org/viewcvs/relax?rev=4932&view=rev Log: Removed the tests for the res_num and res_name args as they no longer exist. Modified: 1.3/generic_fns/structure.py Modified: 1.3/generic_fns/structure.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/structure.py?rev=4932&r1=4931&r2=4932&view=diff ============================================================================== --- 1.3/generic_fns/structure.py (original) +++ 1.3/generic_fns/structure.py Thu Feb 7 13:42:25 2008 @@ -986,20 +986,6 @@ if not exists_mol_res_spin_data(): raise RelaxNoSequenceError - # Test if the residue number is a valid regular expression. - if type(res_num) == str: - try: - compile(res_num) - except: - raise RelaxRegExpError, ('residue number', res_num) - - # Test if the residue name is a valid regular expression. - if res_name: - try: - compile(res_name) - except: - raise RelaxRegExpError, ('residue name', res_name) - # Test that the nuclei have been correctly set. if heteronuc == proton: raise RelaxError, "The proton and heteronucleus are set to the same atom."