diff options
author | Thomas White <taw@physics.org> | 2010-03-25 16:50:31 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-03-25 16:50:31 +0100 |
commit | aa60d83eeaa10040682be0cc3ceb4a33d14bb155 (patch) | |
tree | 7e89c064f07926bc891cb3dbed65bde542b74b63 /src | |
parent | 40f6ecbc70dcde9e007f4bd6372b4a5e153b693c (diff) |
Handle "ATOM" and "HETATM" in PDBs
Diffstat (limited to 'src')
-rw-r--r-- | src/sfac.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -359,7 +359,8 @@ struct molecule *load_molecule() } /* Only interested in atoms */ - if ( strncmp(line, "HETATM", 6) != 0 ) continue; + if ( (strncmp(line, "HETATM", 6) != 0) + && (strncmp(line, "ATOM", 4) != 0) ) continue; chomp(line); nbits = assplode(line, " ", &bits, ASSPLODE_NONE); |