diff --git a/scripts/cif2fasta.py b/scripts/cif2fasta.py index 27d172ee..488ee89d 100755 --- a/scripts/cif2fasta.py +++ b/scripts/cif2fasta.py @@ -271,7 +271,7 @@ def protein_description(self): return protein_description.strip(',') - except AttributeError: + except (AttributeError, ValueError): if DEBUG_MODE > 1: print ('! {pdb} Could not extract pdbx_descriptor from struct table.'.format( pdb = self.pdb_entry()))