aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sfac.c3
1 files changed, 2 insertions, 1 deletions
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);