aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-22 10:41:12 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:20 +0100
commit407a74d5f4ad651170707ae762a63c6cbec47205 (patch)
tree8b9f13104d72d101cc5b55234ffa7984d2bec29e
parentfa79dc619747eaaf0e8cb25643cb1aaaa0f1fc91 (diff)
More debugging
-rw-r--r--src/check_hkl.c4
-rw-r--r--src/compare_hkl.c2
-rw-r--r--src/reflist-utils.c1
3 files changed, 4 insertions, 3 deletions
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 <taw@physics.org>
+ * (c) 2006-2011 Thomas White <taw@physics.org>
*
* 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 <taw@physics.org>
+ * (c) 2006-2011 Thomas White <taw@physics.org>
*
* 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);