diff options
author | Thomas White <taw@physics.org> | 2020-05-20 22:42:49 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | 23ea67dc03ac19f7a1457ecfdc8d5ee9cac68632 (patch) | |
tree | c9cf8cbc343b842c3da3803d67343f73071b96dd /libcrystfel/src/index.c | |
parent | 302de26924528b31a2320c90fd944224674bd835 (diff) |
Port indexamajig to new API, part II
This also removes a large chunk of legacy code
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index c6a0a561..47d2f414 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -234,7 +234,7 @@ static char *friendly_indexer_name(IndexingMethod m) static void *prepare_method(IndexingMethod *m, UnitCell *cell, - struct detector *det, struct beam_params *beam, + const DataTemplate *dtempl, struct xgandalf_options *xgandalf_opts, struct pinkIndexer_options* pinkIndexer_opts, struct felix_options *felix_opts, @@ -284,7 +284,7 @@ static void *prepare_method(IndexingMethod *m, UnitCell *cell, case INDEXING_PINKINDEXER : priv = pinkIndexer_prepare(m, cell, pinkIndexer_opts, - det, beam); + dtempl); break; default : @@ -413,7 +413,7 @@ IndexingPrivate *setup_indexing(const char *method_list, UnitCell *cell, int j; ipriv->engine_private[i] = prepare_method(&methods[i], cell, - det, beam, + dtempl, xgandalf_opts, pinkIndexer_opts, felix_opts, |