diff options
author | Thomas White <taw@physics.org> | 2011-03-24 16:43:24 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:21 +0100 |
commit | 907548616fa9988616d360f62c625e95d9f5577d (patch) | |
tree | 501b77c3d75504b89994fb0318aefee11fe0760f /src/compare_hkl.c | |
parent | 71578b3a04814a0ffdf71536977704e4e58f987c (diff) |
compare_hkl: Write ratios earlier
Diffstat (limited to 'src/compare_hkl.c')
-rw-r--r-- | src/compare_hkl.c | 9 |
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; } |