diff options
author | Thomas White <taw@bitwiz.org.uk> | 2010-06-05 10:19:52 +0200 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2010-06-05 10:19:52 +0200 |
commit | ea369696428af621a3acfd53791d9c98d4402584 (patch) | |
tree | b1a30c1765a31fde97ee01dc15d17963bb56e4c0 /src/pattern_sim.c | |
parent | 3f4cf9279f0ff766448e3308d49e5cae58b6ef61 (diff) | |
parent | 765e6971f3c278374c32c89f63308b70915709ab (diff) |
Merge branch 'master' of git.bitwiz.org.uk:crystfel
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 3 |
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); } |