aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-msgpack.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2024-06-25 10:16:33 +0200
committerThomas White <taw@physics.org>2024-06-25 10:39:34 +0200
commit407215ad190dcdfb8f7263acbbaa725d19a667d1 (patch)
tree1dc529b081b96029e07c29e785d9f5c7c33967c8 /libcrystfel/src/image-msgpack.c
parent3a321852d73ab153a5ccff850f175d1a2af8bbc0 (diff)
process_hkl: Don't accidentally skip crystals in first patternHEADmaster
There was a truly ancient bug here, which has existed for as long as CrystFEL has supported multi-crystal indexing (version 0.5.0, 11 years ago!). See 1e03ed982741fdc576ec5a915da120450df20499. Previously, when using process_hkl --even-only (without --start-after), if the first image contained multiple crystals, they would all be skipped. The correct behaviour is for second, fourth, sixth etc crystals to be merged, if they exist. If the first image contained exactly two crystals, this glitch would put the alternating sequence one step out of sync, such that the only difference between --odd-only and --even-only was the inclusion of the very first crystal. Fortunately, it was obvious when this happened, because the two merged files would be practically identical.
Diffstat (limited to 'libcrystfel/src/image-msgpack.c')
0 files changed, 0 insertions, 0 deletions