diff options
Diffstat (limited to 'src/indexamajig.c')
-rw-r--r-- | src/indexamajig.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c index 6b0ad3d9..3f75f8b0 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -56,6 +56,9 @@ static void show_help(const char *s) " unit cell.\n" " --clean-image Perform common-mode noise subtraction and\n" " background removal on images before proceeding.\n" +" --no-match Don't attempt to match the indexed cell to the\n" +" model, just proceed with the one generated by the\n" +" auto-indexing procedure.\n" "\n"); } @@ -74,6 +77,7 @@ int main(int argc, char *argv[]) int config_writedrx = 0; int config_simulate = 0; int config_clean = 0; + int config_nomatch = 0; IndexingMethod indm; char *indm_str = NULL; @@ -88,6 +92,7 @@ int main(int argc, char *argv[]) {"indexing", 1, NULL, 'z'}, {"simulate", 0, &config_simulate, 1}, {"clean-image", 0, &config_clean, 1}, + {"no-match", 0, &config_nomatch, 1}, {0, 0, NULL, 0} }; @@ -217,7 +222,7 @@ int main(int argc, char *argv[]) /* Calculate orientation matrix (by magic) */ if ( config_writedrx || (indm != INDEXING_NONE) ) { - index_pattern(&image, indm); + index_pattern(&image, indm, config_nomatch); } /* No cell at this point? Then we're done. */ |