aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-11 00:02:28 -0800
committerThomas White <taw@physics.org>2013-02-11 00:02:28 -0800
commitd0bcfe2d7f65e23fc460a655bffd862ac2055d1b (patch)
tree9dea45554a5d0cabb38d08a90dd6e65ec68a4b80 /libcrystfel
parentd9c1a9faa229890e4787030f32d8da887bc6304f (diff)
Add comment
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/mosflm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index dc584f8e..98d4280d 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -167,8 +167,14 @@ static int check_cell(struct mosflm_private *mp, struct image *image,
if ( (latt_r == L_RHOMBOHEDRAL) && (latt_m == L_HEXAGONAL) ) {
UnitCell *fixup;
+
assert(cen_r == 'R');
assert(cen_m == 'H');
+
+ /* Mercifully, MOSFLM seems to use the obverse setting
+ * for this transformation, which is the same as
+ * uncenter_cell(). Otherwise, this would have to be
+ * done by a separate routine. */
fixup = uncenter_cell(out, NULL);
cell_free(out);
out = fixup;