aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libcrystfel/src/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/stream.c b/libcrystfel/src/stream.c
index 808149e3..d8968891 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -1151,8 +1151,8 @@ int read_chunk_2(Stream *st, struct image *image, StreamReadFlags srf)
image->div = div;
}
- if ( sscanf(line, "beam_bandwidth = %f %%", &bw) == 1 ) {
- image->bw = bw/100.0;
+ if ( sscanf(line, "beam_bandwidth = %f", &bw) == 1 ) {
+ image->bw = bw;
}
if ( sscanf(line, "num_peaks = %lld %%", &num_peaks) == 1 ) {