aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-22 17:05:31 +0100
committerThomas White <taw@physics.org>2021-03-23 18:19:36 +0100
commit5d42a5a07530509f156bf56dcbcbbfce85e025c7 (patch)
treede61bc919f0b0063f3cc8470d80ae6fe9d63b935 /libcrystfel
parentbafff30232031445256a7e1f3204320b606f94cc (diff)
Don't automatically set --no-refine --no-check-peaks with PinkIndexer
See c876486b for rationale.
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/index.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index 7097a94a..1c78cc58 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -410,29 +410,6 @@ IndexingPrivate *setup_indexing(const char *method_list,
if ( ipriv->engine_private[i] == NULL ) return NULL;
- if ( (methods[i] & INDEXING_METHOD_MASK) == INDEXING_PINKINDEXER ) {
- if ( n > 1 ) {
- ERROR("WARNING: Using PinkIndexer at the same "
- "time as other indexers is not "
- "recommended.\n");
- }
-
- if ( flags & INDEXING_CHECK_PEAKS ) {
- ERROR("WARNING: Setting --no-check-peaks "
- "because PinkIndexer is in use.\n");
- }
- flags |= INDEXING_CHECK_PEAKS;
- flags ^= INDEXING_CHECK_PEAKS;
-
- if ( flags & INDEXING_REFINE ) {
- ERROR("WARNING: Setting --no-refine because "
- "PinkIndexer is in use.\n");
- }
- flags |= INDEXING_REFINE;
- flags ^= INDEXING_REFINE;
- }
-
-
for ( j=0; j<i; j++ ) {
if ( methods[i] == methods[j] ) {
ERROR("Duplicate indexing method.\n");