From c3291ba5b92d092242144b57e818cc9cadf689ec Mon Sep 17 00:00:00 2001 From: Takanori Nakane Date: Thu, 9 Oct 2014 12:10:56 +0900 Subject: Fixed parsing of CRYST1 --- libcrystfel/src/cell-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel/src/cell-utils.c') 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"); -- cgit v1.2.3