aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorTakanori Nakane <nakane.t@gmail.com>2014-10-09 12:10:56 +0900
committerThomas White <taw@physics.org>2014-11-13 11:53:53 +0100
commitc3291ba5b92d092242144b57e818cc9cadf689ec (patch)
tree9b6573c3a34be191c2da68d94a8058a4744d8413 /libcrystfel
parent66ea8255cf02cd8043145e2121dfdad02d564c80 (diff)
Fixed parsing of CRYST1
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/cell-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/cell-utils.c b/libcrystfel/src/cell-utils.c
index a49f75fe..78e21123 100644
--- a/libcrystfel/src/cell-utils.c
+++ b/libcrystfel/src/cell-utils.c
@@ -1132,7 +1132,7 @@ UnitCell *load_cell_from_pdb(const char *filename)
determine_lattice(cell, as, bs, cs, als, bes, gas);
- if ( strlen(line) > 65 ) {
+ if ( strlen(line) > 55 ) {
cell_set_centering(cell, line[55]);
} else {
ERROR("CRYST1 line without centering.\n");