Author: bugman Date: Thu Oct 29 13:14:53 2009 New Revision: 9841 URL: http://svn.gna.org/viewcvs/relax?rev=9841&view=rev Log: Removed the thiol state check as this can be anything. Modified: branches/bmrb/bmrblib/assembly_supercategory/entity.py Modified: branches/bmrb/bmrblib/assembly_supercategory/entity.py URL: http://svn.gna.org/viewcvs/relax/branches/bmrb/bmrblib/assembly_supercategory/entity.py?rev=9841&r1=9840&r2=9841&view=diff ============================================================================== --- branches/bmrb/bmrblib/assembly_supercategory/entity.py (original) +++ branches/bmrb/bmrblib/assembly_supercategory/entity.py Thu Oct 29 13:14:53 2009 @@ -87,11 +87,6 @@ if not isinstance(polymer_seq_code, str): raise NameError("The polymer one letter code sequence '%s' should be a string." % polymer_seq_code) - # Check the thiol state. - allowed = ['all disulfide bound', 'all free', 'all other bound', 'disulfide and other bound', 'free and disulfide bound', 'free and other bound', 'free disulfide and other bound', 'not available', 'not present', 'not reported', 'unknown'] - if thiol_state not in allowed: - raise NameError("The thiol state '%s' should be one of %s." % (thiol_state, allowed)) - # Place the args into the namespace. self.mol_name = mol_name self.mol_type = mol_type