aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r--src/pattern_sim.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c
index 130b6681..39931bdb 100644
--- a/src/pattern_sim.c
+++ b/src/pattern_sim.c
@@ -320,6 +320,8 @@ int main(int argc, char *argv[])
image.lambda = ph_en_to_lambda(eV_to_J(PHOTON_ENERGY)); /* Wavelength */
cell = load_cell_from_pdb(filename);
image.filename = NULL;
+ image.features = NULL;
+ image.flags = NULL;
#include "geometry-lcls.tmp"
@@ -382,6 +384,7 @@ int main(int argc, char *argv[])
record_image(&image, !config_nonoise);
if ( config_nearbragg ) {
+ find_projected_peaks(&image, cell);
output_intensities(&image, cell, NULL, 1);
}