From 23295e405b524d86475e22eb21a56fd1ada3e530 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 26 Apr 2012 14:51:58 +0200 Subject: Update the peak coordinates when doing --closer-peak This should make it much more obvious (via check-near-bragg) when the peak positions are wrong. --- libcrystfel/src/peaks.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 4b146eb6..78a68185 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -636,9 +636,15 @@ void integrate_reflections(struct image *image, int use_closer, int bgsub, /* FIXME: Horrible hardcoded value */ if ( (f != NULL) && (d < 10.0) ) { + double exe; + + exe = get_excitation_error(refl); + pfs = f->fs; pss = f->ss; + set_detector_pos(refl, exe, pfs, pss); + } } -- cgit v1.2.3