[AMBER] TypeError: %c requires int or char

From: Computational Chemistry <compchem.om.gmail.com>
Date: Thu, 10 Jun 2021 17:20:43 +0400

dear amber users
i recently run the pdb4amber but sometime i get this error i am using
ambertool21 with AMBER20 opensuse 15.3 leap

==================================================
Summary of pdb4amber for: protein.pdb
===================================================
Traceback (most recent call last):
 File "/opt/amber20/bin/pdb4amber", line 33, in <module>
   sys.exit(load_entry_point('pdb4amber==20.1', 'console_scripts',
'pdb4amber')())
 File
"/opt/amber20/lib/python3.8/site-packages/./pdb4amber-20.1-py3.8.egg/pdb4amber/pdb4amber.py",
line 816, in main
   run(
 File
"/opt/amber20/lib/python3.8/site-packages/./pdb4amber-20.1-py3.8.egg/pdb4amber/pdb4amber.py",
line 520, in run
   pdbfixer._write_renum(base_filename)
 File
"/opt/amber20/lib/python3.8/site-packages/./pdb4amber-20.1-py3.8.egg/pdb4amber/pdb4amber.py",
line 388, in _write_
renum
   fh.write("%3s %c %5s\ %3s %5s\n" %
TypeError: %c requires int or char
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Thu Jun 10 2021 - 06:30:02 PDT
Custom Search