aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/predict-refine.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c
index 61ce3629..015fd94d 100644
--- a/libcrystfel/src/predict-refine.c
+++ b/libcrystfel/src/predict-refine.c
@@ -138,10 +138,12 @@ static void UNUSED write_pairs(const char *filename, struct reflpeak *rps,
double write_fs, write_ss;
double fs, ss;
struct panel *p;
+ signed int h, k, l;
fs = rps[i].peak->fs;
ss = rps[i].peak->ss;
p = rps[i].panel;
+ get_indices(rps[i].refl, &h, &k, &l);
write_fs = fs + p->orig_min_fs;
write_ss = ss + p->orig_min_ss;
@@ -152,6 +154,9 @@ static void UNUSED write_pairs(const char *filename, struct reflpeak *rps,
x_dev(&rps[i], det),
y_dev(&rps[i], det));
+ //fprintf(fh, "%4i %4i %4i 0.0 - 0.0 1 %7.2f %7.2f %s\n",
+ // h, k, l, write_fs, write_ss, p->name);
+
}
fclose(fh);