aboutsummaryrefslogtreecommitdiff
path: root/src/pattern_sim.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-06-05 10:16:58 +0200
committerThomas White <taw@physics.org>2010-06-05 10:16:58 +0200
commit765e6971f3c278374c32c89f63308b70915709ab (patch)
tree842694bd65c21887de449bba5edf634ce131ef15 /src/pattern_sim.c
parent31aa8ae2709740dab5ab6ec7a8e28dcd8709b72e (diff)
Bring pattern_sim up to date
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);
}