aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2017-09-22 16:30:23 +0200
committerThomas White <taw@physics.org>2017-09-22 16:31:21 +0200
commit0ba6ac905f656be5fbdda0f681e618789c1e3a27 (patch)
treea4d13a49df7c2b2f39d80d290bb909eb2405da48 /libcrystfel/src/index.c
parent7620fbe1a63a6ebb88cb573559dfddcdc4708750 (diff)
Don't send detector and tolerance to indexing methods
The detector isn't used for anything, and the tolerance is none of their business.
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index a9fff11a..9a0cb8cf 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -197,7 +197,6 @@ static char *friendly_indexer_name(IndexingMethod m)
static void *prepare_method(IndexingMethod *m, UnitCell *cell,
- struct detector *det, float *ltl,
const char *options)
{
char *str;
@@ -211,19 +210,19 @@ static void *prepare_method(IndexingMethod *m, UnitCell *cell,
break;
case INDEXING_DIRAX :
- priv = dirax_prepare(m, cell, det, ltl);
+ priv = dirax_prepare(m, cell);
break;
case INDEXING_ASDF :
- priv = asdf_prepare(m, cell, det, ltl);
+ priv = asdf_prepare(m, cell);
break;
case INDEXING_MOSFLM :
- priv = mosflm_prepare(m, cell, det, ltl);
+ priv = mosflm_prepare(m, cell);
break;
case INDEXING_XDS :
- priv = xds_prepare(m, cell, det, ltl);
+ priv = xds_prepare(m, cell);
break;
case INDEXING_DEBUG :
@@ -231,11 +230,11 @@ static void *prepare_method(IndexingMethod *m, UnitCell *cell,
break;
case INDEXING_FELIX :
- priv = felix_prepare(m, cell, det, ltl, options);
+ priv = felix_prepare(m, cell, options);
break;
case INDEXING_TAKETWO :
- priv = taketwo_prepare(m, cell, det, ltl);
+ priv = taketwo_prepare(m, cell);
break;
default :
@@ -360,7 +359,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell,
int j;
ipriv->engine_private[i] = prepare_method(&methods[i], cell,
- det, ltl, options);
+ options);
if ( ipriv->engine_private[i] == NULL ) return NULL;