From 049c3eb48c31dfa006dd78e2612babf6d6b3b6db Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 22 Oct 2019 15:26:10 +0200 Subject: xds: Fix handedness of unit cell Previously, it was wired to give left handed cells. --- libcrystfel/src/xds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libcrystfel/src/xds.c b/libcrystfel/src/xds.c index c0fccc7b..cae7ce71 100644 --- a/libcrystfel/src/xds.c +++ b/libcrystfel/src/xds.c @@ -173,9 +173,9 @@ static int read_cell(struct image *image) cell = cell_new(); cell_set_cartesian(cell, - ax*1e-10, ay*1e-10, az*1e-10, - bx*1e-10, by*1e-10, bz*1e-10, - -cx*1e-10, -cy*1e-10, -cz*1e-10); + -ax*1e-10, -ay*1e-10, -az*1e-10, + -bx*1e-10, -by*1e-10, -bz*1e-10, + cx*1e-10, cy*1e-10, cz*1e-10); if ( convert_spacegroup_number(spg, &latticetype, ¢ering, &ua) ) { ERROR("Failed to convert XDS space group number (%i)\n", spg); return 0; -- cgit v1.2.3