diff options
author | Thomas White <taw@physics.org> | 2010-02-03 12:25:19 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-03 12:25:19 +0100 |
commit | 2050e855c7dd5f9df6bb955b4dd00c92ede1721a (patch) | |
tree | 7c0d56160b10fc2d648d3e92d83e74330bc7dd92 /src/indexamajig.c | |
parent | 1ac7acb915aef706b32cd2df133eee07cf9161bf (diff) |
Count a hit only when the pattern can be indexed
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index d59132c5..c7108fee 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -180,8 +180,6 @@ int main(int argc, char *argv[]) if ( image_feature_count(image.features) > 5 ) { - n_hits++; - if ( config_dumpfound ) dump_peaks(&image); /* Not indexing nor writing xfel.drx? @@ -198,6 +196,8 @@ int main(int argc, char *argv[]) /* No cell at this point? Then we're done. */ if ( image.indexed_cell == NULL ) goto done; + n_hits++; + /* Simulation or intensity measurements both require * Ewald sphere vectors */ if ( config_nearbragg || config_simulate ) { |