aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/index.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcrystfel/src/index.c')
-rw-r--r--libcrystfel/src/index.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c
index c684cc1f..1d98afb7 100644
--- a/libcrystfel/src/index.c
+++ b/libcrystfel/src/index.c
@@ -163,8 +163,8 @@ char *base_indexer_str(IndexingMethod indm)
break;
case INDEXING_SMALLCELL :
- strcpy(str, "smallcell");
- break;
+ strcpy(str, "smallcell");
+ break;
default :
strcpy(str, "(unknown)");
@@ -236,8 +236,8 @@ static void *prepare_method(IndexingMethod *m, UnitCell *cell,
break;
case INDEXING_SMALLCELL :
- priv = smallcell_prepare(m, smallcell_opts, cell);
- break;
+ priv = smallcell_prepare(m, smallcell_opts, cell);
+ break;
case INDEXING_FELIX :
priv = felix_prepare(m, cell, felix_opts);
@@ -338,7 +338,7 @@ IndexingPrivate *setup_indexing(const char *method_list,
struct pinkindexer_options *pinkIndexer_opts,
struct felix_options *felix_opts,
struct fromfile_options *fromfile_opts,
- struct smallcell_options *smallcell_opts,
+ struct smallcell_options *smallcell_opts,
struct asdf_options *asdf_opts)
{
IndexingPrivate *ipriv;
@@ -502,8 +502,8 @@ void cleanup_indexing(IndexingPrivate *ipriv)
break;
case INDEXING_SMALLCELL :
- smallcell_cleanup(ipriv->engine_private[n]);
- break;
+ smallcell_cleanup(ipriv->engine_private[n]);
+ break;
case INDEXING_TAKETWO :
taketwo_cleanup(ipriv->engine_private[n]);
@@ -631,11 +631,11 @@ static int try_indexer(struct image *image, IndexingMethod indm,
break;
case INDEXING_SMALLCELL :
- set_last_task("indexing:smallcell");
- profile_start("smallcell");
- r = smallcell_index(image, mpriv);
- profile_end("smallcell");
- break;
+ set_last_task("indexing:smallcell");
+ profile_start("smallcell");
+ r = smallcell_index(image, mpriv);
+ profile_end("smallcell");
+ break;
case INDEXING_FELIX :
set_last_task("indexing:felix");
@@ -1147,9 +1147,9 @@ IndexingMethod get_indm_from_string_2(const char *str, int *err)
return method;
} else if ( strcmp(bits[i], "smallcell") == 0) {
- if ( have_method ) return warn_method(str);
- method = INDEXING_SMALLCELL;
- return method;
+ if ( have_method ) return warn_method(str);
+ method = INDEXING_SMALLCELL;
+ return method;
} else if ( strcmp(bits[i], "latt") == 0) {
method = set_lattice(method);
@@ -1253,7 +1253,7 @@ void default_method_options(struct taketwo_options **ttopts,
struct pinkindexer_options **pinkIndexer_opts,
struct felix_options **felix_opts,
struct fromfile_options **fromfile_opts,
- struct smallcell_options **smallcell_opts,
+ struct smallcell_options **smallcell_opts,
struct asdf_options **asdf_opts)
{
taketwo_default_options(ttopts);