From 5524b7db01c53b42fb0290d1db289ec99bd3a09f Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 22 Sep 2017 11:32:09 +0200 Subject: Mosflm: Recognise P3 as hexagonal P lattice --- libcrystfel/src/mosflm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcrystfel/src/mosflm.c') diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c index 262f20b2..fa8fb18b 100644 --- a/libcrystfel/src/mosflm.c +++ b/libcrystfel/src/mosflm.c @@ -222,7 +222,7 @@ static LatticeType spacegroup_to_lattice(const char *sg, char *ua, char *cen) latt = L_HEXAGONAL; *ua = 'c'; } else if ( sg[1] == '3' ) { - if ( sg[0] == 'H' ) { + if ( (sg[0] == 'H') || (sg[0] == 'P') ) { latt = L_HEXAGONAL; *ua = 'c'; } else { -- cgit v1.2.3