aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-17 14:53:44 +0200
committerThomas White <taw@physics.org>2015-07-17 14:53:44 +0200
commit6080da714069610e2c5ef53d374f97b1cd29f1bb (patch)
tree79154ec632f8077b81778959d2c8e48505d9f853 /libcrystfel
parent6ba94cc7527dafe06a80c35958528964c595ddf3 (diff)
Fix format string for num_peaks
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index d8968891..313e25e4 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -1155,7 +1155,7 @@ int read_chunk_2(Stream *st, struct image *image, StreamReadFlags srf)
image->bw = bw;
}
- if ( sscanf(line, "num_peaks = %lld %%", &num_peaks) == 1 ) {
+ if ( sscanf(line, "num_peaks = %lld", &num_peaks) == 1 ) {
image->num_peaks = num_peaks;
}