diff options
author | Piotr Rotkiewicz <piotr@pirx.com> | 2008-09-12 18:21:19 +0000 |
---|---|---|
committer | Piotr Rotkiewicz <piotr@pirx.com> | 2008-09-12 18:21:19 +0000 |
commit | 502fda99108896be9e8f6f3371300cec17ee4434 (patch) | |
tree | 6de01b4a5814a6ab70dbe121bf6fae6264257e89 | |
parent | eefaeedcb7bb126c25c8aee6591b66e3eec1eb2d (diff) | |
download | nanoengineer-theirix-502fda99108896be9e8f6f3371300cec17ee4434.tar.gz nanoengineer-theirix-502fda99108896be9e8f6f3371300cec17ee4434.zip |
=Fix a bug in writepdb.
-rwxr-xr-x | cad/src/files/pdb/files_pdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cad/src/files/pdb/files_pdb.py b/cad/src/files/pdb/files_pdb.py index d1b10995e..90aaa7ad6 100755 --- a/cad/src/files/pdb/files_pdb.py +++ b/cad/src/files/pdb/files_pdb.py @@ -1383,7 +1383,7 @@ def writepdb(part, if a.pdb_info.has_key('standard_atom'): hetatm = False if a.pdb_info.has_key('chain_id'): - chainIdChar = a.pdb_info['chain_id'] + chainIdChar = ord(a.pdb_info['chain_id'][0]) if a.pdb_info.has_key('occupancy'): occup = a.pdb_info['occupancy'] if a.pdb_info.has_key('temperature_factor'): |