diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-02-05 23:52:04 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-02-05 23:52:04 +0100 |
commit | 004be7ba8d405c7d04ac6143c783bfec70d296bb (patch) | |
tree | 1829386435cb0e1a7e66faf57a069f8f94d39b74 /libcrystfel/src | |
parent | 48bfb8e3674e921df3dc2ec387e6aa2889c343d3 (diff) |
WIP on updating partialator
Diffstat (limited to 'libcrystfel/src')
-rw-r--r-- | libcrystfel/src/crystal.h | 5 | ||||
-rw-r--r-- | libcrystfel/src/index.c | 9 |
2 files changed, 5 insertions, 9 deletions
diff --git a/libcrystfel/src/crystal.h b/libcrystfel/src/crystal.h index ca215399..f418f23a 100644 --- a/libcrystfel/src/crystal.h +++ b/libcrystfel/src/crystal.h @@ -55,6 +55,8 @@ extern double crystal_get_profile_radius(Crystal *cryst); extern RefList *crystal_get_reflections(Crystal *cryst); extern double crystal_get_resolution_limit(Crystal *cryst); extern long long int crystal_get_num_saturated_reflections(Crystal *cryst); +extern int crystal_get_user_flag(Crystal *cryst); +extern double crystal_get_osf(Crystal *cryst); extern void crystal_set_cell(Crystal *cryst, UnitCell *cell); extern void crystal_set_profile_radius(Crystal *cryst, double r); @@ -62,6 +64,7 @@ extern void crystal_set_reflections(Crystal *cryst, RefList *reflist); extern void crystal_set_resolution_limit(Crystal *cryst, double res); extern void crystal_set_num_saturated_reflections(Crystal *cryst, long long int n); - +extern void crystal_set_user_flag(Crystal *cryst, int flag); +extern void crystal_set_osf(Crystal *cryst, double osf); #endif /* CRYSTAL_H */ diff --git a/libcrystfel/src/index.c b/libcrystfel/src/index.c index cd6628e9..94159957 100644 --- a/libcrystfel/src/index.c +++ b/libcrystfel/src/index.c @@ -52,13 +52,6 @@ #include "cell-utils.h" -static const char *maybes(int n) -{ - if ( n == 1 ) return ""; - return "s"; -} - - IndexingPrivate **prepare_indexing(IndexingMethod *indm, UnitCell *cell, const char *filename, struct detector *det, struct beam_params *beam, float *ltl) @@ -117,6 +110,7 @@ void cleanup_indexing(IndexingMethod *indms, IndexingPrivate **privs) case INDEXING_DIRAX : case INDEXING_MOSFLM : /* No cleanup */ + /* FIXME: Not true */ break; case INDEXING_REAX : @@ -246,7 +240,6 @@ IndexingMethod *build_indexer_list(const char *str) int n, i; char **methods; IndexingMethod *list; - int tmp; int nmeth = 0; n = assplode(str, ",-", &methods, ASSPLODE_NONE); |