aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-24 16:43:24 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:21 +0100
commit907548616fa9988616d360f62c625e95d9f5577d (patch)
tree501b77c3d75504b89994fb0318aefee11fe0760f /src
parent71578b3a04814a0ffdf71536977704e4e58f987c (diff)
compare_hkl: Write ratios earlier
Diffstat (limited to 'src')
-rw-r--r--src/compare_hkl.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/compare_hkl.c b/src/compare_hkl.c
index 60415c4b..88c6431b 100644
--- a/src/compare_hkl.c
+++ b/src/compare_hkl.c
@@ -440,6 +440,11 @@ int main(int argc, char *argv[])
}
+ if ( ratiofile != NULL ) {
+ write_reflist(ratiofile, ratio, cell);
+ }
+ reflist_free(ratio);
+
STATUS("%i reflections in '%s' had I < 3.0*sigma(I)\n", rej1, afile);
STATUS("%i reflections in '%s' had I < 3.0*sigma(I)\n", rej2, bfile);
@@ -511,9 +516,5 @@ int main(int argc, char *argv[])
cell, sym, rmin_fix, rmax_fix);
}
- if ( ratiofile != NULL ) {
- write_reflist(ratiofile, ratio, cell);
- }
-
return 0;
}