aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-09-22 11:32:09 +0200
committerThomas White <taw@physics.org>2017-09-22 11:32:09 +0200
commit5524b7db01c53b42fb0290d1db289ec99bd3a09f (patch)
treed12b79bbf4b7f9072d25d92a875c970c2660d7f7 /libcrystfel
parent0ef5b571d3acfc24e7234d8b41905ae5440efe10 (diff)
Mosflm: Recognise P3 as hexagonal P lattice
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/mosflm.c2
1 files changed, 1 insertions, 1 deletions
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 {