aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-04-26 14:08:12 +0200
committerThomas White <taw@physics.org>2012-04-26 14:08:12 +0200
commitcfbbdae0ff6b0823fd9de0971f51b9fd939db5b6 (patch)
tree7167d52829efec8c6292e7c75e11add57c3ef5f1 /src
parentd7ff5c5ab2ffdaa2808d5e336603804450ca15b0 (diff)
indexamajig: Make --no-closer-peak the default
Diffstat (limited to 'src')
-rw-r--r--src/indexamajig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/indexamajig.c b/src/indexamajig.c
index 281cac43..8c073e2c 100644
--- a/src/indexamajig.c
+++ b/src/indexamajig.c
@@ -228,9 +228,8 @@ static void show_help(const char *s)
"\n"
"\nOptions you probably won't need:\n\n"
" --no-check-prefix Don't attempt to correct the --prefix.\n"
-" --no-closer-peak Don't integrate from the location of a nearby peak\n"
-" instead of the position closest to the reciprocal\n"
-" lattice point.\n"
+" --closer-peak Don't integrate from the location of a nearby peak\n"
+" instead of the predicted spot. Don't use.\n"
" --insane Don't check that the reduced cell accounts for at\n"
" least 10%% of the located peaks.\n"
" --no-bg-sub Don't subtract local background estimates from\n"
@@ -561,7 +560,7 @@ int main(int argc, char *argv[])
int config_verbose = 0;
int config_satcorr = 1;
int config_checkprefix = 1;
- int config_closer = 1;
+ int config_closer = 0;
int config_insane = 0;
int config_bgsub = 1;
int config_basename = 0;
@@ -630,6 +629,7 @@ int main(int argc, char *argv[])
{"threshold", 1, NULL, 't'},
{"no-check-prefix", 0, &config_checkprefix, 0},
{"no-closer-peak", 0, &config_closer, 0},
+ {"closer-peak", 0, &config_closer, 1},
{"insane", 0, &config_insane, 1},
{"image", 1, NULL, 'e'},
{"basename", 0, &config_basename, 1},