diff options
author | Thomas White <taw@physics.org> | 2021-03-18 12:00:22 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-03-19 12:04:50 +0100 |
commit | dcdce375c16c709161d57cbae551feb7b842db34 (patch) | |
tree | 428ed8f0f90fc30e277313dc15c8325602865f4b /libcrystfel/src/index.h | |
parent | fdfa088f97aa2525b9b19e9383cbc203b354b61d (diff) |
FromFile indexer: Option processing
This give FromFile its own private command-lien option processing, like
the other indexers. It removes the ability to auto-generate the
solution filename, but I don't think there's a way to do that without
breaking abstractions.
Diffstat (limited to 'libcrystfel/src/index.h')
-rw-r--r-- | libcrystfel/src/index.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libcrystfel/src/index.h b/libcrystfel/src/index.h index 5cee29b2..88b9b67e 100644 --- a/libcrystfel/src/index.h +++ b/libcrystfel/src/index.h @@ -152,16 +152,19 @@ typedef struct felix_options FelixOptions; typedef struct taketwo_options TakeTwoOptions; typedef struct xgandalf_options XGandalfOptions; typedef struct pinkIndexer_options PinkIndexerOptions; +typedef struct fromfile_options FromFileOptions; extern struct argp felix_argp; extern struct argp pinkIndexer_argp; extern struct argp taketwo_argp; extern struct argp xgandalf_argp; +extern struct argp fromfile_argp; extern void default_method_options(TakeTwoOptions **ttopts, XGandalfOptions **xgandalf_opts, PinkIndexerOptions **pinkIndexer_opts, - FelixOptions **felix_opts); + FelixOptions **felix_opts, + FromFileOptions **fromfile_opts); extern IndexingPrivate *setup_indexing(const char *methods, UnitCell *cell, @@ -173,7 +176,7 @@ extern IndexingPrivate *setup_indexing(const char *methods, struct xgandalf_options *xgandalf_opts, struct pinkIndexer_options *pinkIndexer_opts, struct felix_options *felix_opts, - char *filename); + struct fromfile_options *fromfile_opts); extern const IndexingMethod *indexing_methods(IndexingPrivate *p, int *n); |