[BioPython] error in writting pdb file
    Bala subramanian 
    bala.biophysics at gmail.com
       
    Mon Dec 29 21:37:31 UTC 2008
    
    
  
Dear Friends,
When i try to write a pdb file with PDBIO, i get the following error. What
could be the possible reason for the same.
>>> out=PDBIO()
>>> out.set_structure(s)
>>> out.save("new.pdb")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/home/bala/Desktop/biopython-1.49/build/lib.linux-i686-2.5/Bio/PDB/PDBIO.py",
line 150, in save
  File
"/home/bala/Desktop/biopython-1.49/build/lib.linux-i686-2.5/Bio/PDB/PDBIO.py",
line 84, in _get_atom_line
TypeError: %c requires int or char
Thanks in advance,
Bala
    
    
More information about the Biopython
mailing list