diff options
author | Thomas White <taw@physics.org> | 2013-02-19 18:13:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-02-19 18:13:13 +0100 |
commit | 59b99486be3865a53049d0c6317157d9f22bc0e1 (patch) | |
tree | 277c5e32714e547e8fb3d242ed5f3d28f6708e92 /libcrystfel/src/grainspotter.c | |
parent | a5439f150d97b30576ea9f337c004ff0a9e404a1 (diff) |
Add -cell and -nocell to indexing methods
Diffstat (limited to 'libcrystfel/src/grainspotter.c')
-rw-r--r-- | libcrystfel/src/grainspotter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/libcrystfel/src/grainspotter.c b/libcrystfel/src/grainspotter.c index 8bdb03aa..8def8091 100644 --- a/libcrystfel/src/grainspotter.c +++ b/libcrystfel/src/grainspotter.c @@ -482,10 +482,8 @@ IndexingPrivate *grainspotter_prepare(IndexingMethod *indm, UnitCell *cell, if ( gp == NULL ) return NULL; /* Flags that GrainSpotter knows about */ - *indm &= INDEXING_METHOD_MASK | INDEXING_CHECK_PEAKS; - - /* Flags that GrainSpotter requires */ - *indm |= INDEXING_USE_LATTICE_TYPE; + *indm &= INDEXING_METHOD_MASK | INDEXING_CHECK_PEAKS + | INDEXING_USE_LATTICE_TYPE | INDEXING_USE_CELL_PARAMETERS; gp->cell = cell; gp->indm = *indm; |