aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-04-20 11:27:07 +0200
committerThomas White <taw@physics.org>2018-04-20 17:36:40 +0200
commit7c0a1228c1254db06e0f5956cdc9691e86033cda (patch)
treed732530d017b621966abde70aca4b2aaf50311e5 /src
parent8314534edc2f5076239d2ee39833d84df2b8be9c (diff)
Restore peak alignment check and unset multi-lattice indexing as default
Unfortunately, they seem to be severely reducing data quality. Partially reverts 60c48f3876b0d3c30bf729ce691dbd3f56665c4c
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index a6651497..3cfe2c6e 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -124,11 +124,11 @@ static void show_help(const char *s)
" --no-check-cell Don't check lattice parameters against input cell\n"
" --no-cell-combinations\n"
" Don't use axis combinations when checking cell\n"
-" --no-multi Don't repeat indexing to index multiple hits\n"
+" --multi Repeat indexing to index multiple hits\n"
" --no-retry Don't repeat indexing to increase indexing rate\n"
" --no-refine Skip the prediction refinement step\n"
-" --check-peaks Check that most of the peaks can be accounted for\n"
-" by the indexing solution\n"
+" --no-check-peaks Don't check that most of the peaks can be accounted\n"
+" for by the indexing solution\n"
"\n"
" --taketwo-member-threshold\n"
" Minimum number of members in network\n"
@@ -239,8 +239,8 @@ int main(int argc, char *argv[])
int if_refine = 1;
int if_nocomb = 0;
int if_nocheck = 0;
- int if_peaks = 0;
- int if_multi = 1;
+ int if_peaks = 1;
+ int if_multi = 0;
int if_retry = 1;
int serial_start = 1;
@@ -343,8 +343,11 @@ int main(int argc, char *argv[])
{"no-check-cell", 0, &if_nocheck, 1},
{"no-cell-check", 0, &if_nocheck, 1},
{"check-peaks", 0, &if_peaks, 1},
+ {"no-check-peaks", 0, &if_peaks, 0},
{"no-retry", 0, &if_retry, 0},
+ {"retry", 0, &if_retry, 1},
{"no-multi", 0, &if_multi, 0},
+ {"multi", 0, &if_multi, 1},
{"overpredict", 0, &iargs.overpredict, 1},
/* Long-only options which don't actually do anything */