aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/indexers
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-10 14:35:39 +0100
committerThomas White <taw@physics.org>2021-03-11 15:59:11 +0100
commit665547b5ad276a7fa9f9e3c20cf531aa1f32f247 (patch)
treed3320bb9c903c7f8274fa21bb3a266bbb5b2d295 /libcrystfel/src/indexers
parent1f02539c192e1c400474ea480341ccefb49eaf36 (diff)
setup_indexing: Remove dtempl
There is absolutely nothing useful that an indexing algorithm can do with the opaque DataTemplate object.
Diffstat (limited to 'libcrystfel/src/indexers')
-rw-r--r--libcrystfel/src/indexers/pinkindexer.c11
-rw-r--r--libcrystfel/src/indexers/pinkindexer.h4
2 files changed, 8 insertions, 7 deletions
diff --git a/libcrystfel/src/indexers/pinkindexer.c b/libcrystfel/src/indexers/pinkindexer.c
index ae4e5642..69905c35 100644
--- a/libcrystfel/src/indexers/pinkindexer.c
+++ b/libcrystfel/src/indexers/pinkindexer.c
@@ -194,9 +194,9 @@ static int want_center_adjustment(struct pinkIndexer_options *pinkIndexer_opts)
}
-void *pinkIndexer_prepare(IndexingMethod *indm, UnitCell *cell,
+void *pinkIndexer_prepare(IndexingMethod *indm,
+ UnitCell *cell,
struct pinkIndexer_options *pinkIndexer_opts,
- const DataTemplate *dtempl,
double wavelength_estimate)
{
float beamEenergy_eV;
@@ -408,9 +408,10 @@ int run_pinkIndexer(struct image *image, void *ipriv)
return 0;
}
-extern void *pinkIndexer_prepare(IndexingMethod *indm, UnitCell *cell,
- struct pinkIndexer_options *pinkIndexer_opts,
- const DataTemplate *dtempl)
+extern void *pinkIndexer_prepare(IndexingMethod *indm,
+ UnitCell *cell,
+ struct pinkIndexer_options *pinkIndexer_opts,
+ double wavelength_estimate)
{
ERROR("This copy of CrystFEL was compiled without PINKINDEXER support.\n");
ERROR("To use PINKINDEXER indexing, recompile with PINKINDEXER.\n");
diff --git a/libcrystfel/src/indexers/pinkindexer.h b/libcrystfel/src/indexers/pinkindexer.h
index fc2714c8..12230225 100644
--- a/libcrystfel/src/indexers/pinkindexer.h
+++ b/libcrystfel/src/indexers/pinkindexer.h
@@ -39,9 +39,9 @@ extern int pinkIndexer_default_options(PinkIndexerOptions **opts_ptr);
extern int run_pinkIndexer(struct image *image, void *ipriv);
-extern void *pinkIndexer_prepare(IndexingMethod *indm, UnitCell *cell,
+extern void *pinkIndexer_prepare(IndexingMethod *indm,
+ UnitCell *cell,
struct pinkIndexer_options *pinkIndexer_opts,
- const DataTemplate *dtempl,
double wavelength_estimate);
extern void pinkIndexer_cleanup(void *pp);