diff options
author | Thomas White <taw@physics.org> | 2013-11-26 05:14:57 -0800 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-05-08 17:52:02 +0200 |
commit | 1bc44dd21dc49a3920431cfee4495a28a45df622 (patch) | |
tree | 951831597e5a1503f4e83eaf4a363bac41528056 /libcrystfel/src/index.c | |
parent | 2400441598cd7876949f6b1ed52c14b6e469368c (diff) |
Strip out the "prepare_filename" rubbish
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r-- | libcrystfel/src/index.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index c1897d1f..68b4c38e 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -56,7 +56,7 @@ IndexingPrivate **prepare_indexing(IndexingMethod *indm, UnitCell *cell, - const char *filename, struct detector *det, + struct detector *det, struct beam_params *beam, float *ltl) { int n; @@ -77,29 +77,27 @@ IndexingPrivate **prepare_indexing(IndexingMethod *indm, UnitCell *cell, switch ( indm[n] & INDEXING_METHOD_MASK ) { case INDEXING_DIRAX : - iprivs[n] = dirax_prepare(&indm[n], cell, filename, + iprivs[n] = dirax_prepare(&indm[n], cell, det, beam, ltl); break; case INDEXING_MOSFLM : - iprivs[n] = mosflm_prepare(&indm[n], cell, filename, + iprivs[n] = mosflm_prepare(&indm[n], cell, det, beam, ltl); break; case INDEXING_XDS : - iprivs[n] = xds_prepare(&indm[n], cell, filename, - det, beam, ltl); + iprivs[n] = xds_prepare(&indm[n], cell, det, beam, ltl); break; case INDEXING_REAX : - iprivs[n] = reax_prepare(&indm[n], cell, filename, + iprivs[n] = reax_prepare(&indm[n], cell, det, beam, ltl); break; case INDEXING_GRAINSPOTTER : iprivs[n] = grainspotter_prepare(&indm[n], cell, - filename, det, beam, - ltl); + det, beam, ltl); break; default : |