From 407a74d5f4ad651170707ae762a63c6cbec47205 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 22 Mar 2011 10:41:12 +0100 Subject: More debugging --- src/check_hkl.c | 4 ++-- src/compare_hkl.c | 2 +- src/reflist-utils.c | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/check_hkl.c b/src/check_hkl.c index 903188a1..d220252d 100644 --- a/src/check_hkl.c +++ b/src/check_hkl.c @@ -3,7 +3,7 @@ * * Characterise reflection lists * - * (c) 2006-2010 Thomas White + * (c) 2006-2011 Thomas White * * Part of CrystFEL - crystallography with a FEL * @@ -385,7 +385,7 @@ int main(int argc, char *argv[]) /* Reject some reflections */ list = reflist_new(); - for ( refl = first_refl(list, &iter); + for ( refl = first_refl(raw_list, &iter); refl != NULL; refl = next_refl(refl, iter) ) { diff --git a/src/compare_hkl.c b/src/compare_hkl.c index 16a744ea..60415c4b 100644 --- a/src/compare_hkl.c +++ b/src/compare_hkl.c @@ -3,7 +3,7 @@ * * Compare reflection lists * - * (c) 2006-2010 Thomas White + * (c) 2006-2011 Thomas White * * Part of CrystFEL - crystallography with a FEL * diff --git a/src/reflist-utils.c b/src/reflist-utils.c index 7ed4f54e..281a871c 100644 --- a/src/reflist-utils.c +++ b/src/reflist-utils.c @@ -271,6 +271,7 @@ RefList *read_reflections_from_file(FILE *fh) set_int(refl, intensity); set_detector_pos(refl, fs, ss, 0.0); set_esd_intensity(refl, sigma); + set_redundancy(refl, cts); ph = strtod(phs, &v); if ( v != NULL ) set_ph(refl, ph); -- cgit v1.2.3