aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/peaks.c6
1 files changed, 6 insertions, 0 deletions
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);
+
}
}