From aa60d83eeaa10040682be0cc3ceb4a33d14bb155 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 25 Mar 2010 16:50:31 +0100 Subject: Handle "ATOM" and "HETATM" in PDBs --- src/sfac.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sfac.c b/src/sfac.c index 3668217f..28fa130b 100644 --- a/src/sfac.c +++ b/src/sfac.c @@ -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); -- cgit v1.2.3