aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-05-06 18:17:38 +0200
committerThomas White <taw@physics.org>2013-05-06 18:17:38 +0200
commit47e0485522fa593ca54c61f39183dd204638c693 (patch)
tree635821ba5bbc5be3911cbc0c36548f8a6a60c4db /libcrystfel
parent8591073d7e1a2c3169cbc66e9f8c81fba37317de (diff)
Add num_reflections to stream
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/stream.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 03f969f8..5782bb82 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -173,6 +173,8 @@ static void write_crystal(Stream *st, Crystal *cr, int include_reflections)
crystal_get_resolution_limit(cr)/1e9,
1e9 / crystal_get_resolution_limit(cr));
+ fprintf(st->fh, "num_reflections = %i\n",
+ num_reflections(reflist));
fprintf(st->fh, "num_saturated_reflections = %lli\n",
crystal_get_num_saturated_reflections(cr));