aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/stream.c')
-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 67297e49..708e681c 100644
--- a/libcrystfel/src/stream.c
+++ b/libcrystfel/src/stream.c
@@ -900,8 +900,8 @@ struct image *stream_read_chunk(Stream *st, StreamFlags srf)
image_free(image);
return NULL;
}
+ image_create_dp_bad_sat(image, st->dtempl_read);
image_set_zero_data(image, st->dtempl_read);
- image_set_zero_mask(image, st->dtempl_read);
}
image->spectrum = spectrum_generate_gaussian(image->lambda,
image->bw);