aboutsummaryrefslogtreecommitdiff
path: root/src/gui_index.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-18 12:00:22 +0100
committerThomas White <taw@physics.org>2021-03-19 12:04:50 +0100
commitdcdce375c16c709161d57cbae551feb7b842db34 (patch)
tree428ed8f0f90fc30e277313dc15c8325602865f4b /src/gui_index.c
parentfdfa088f97aa2525b9b19e9383cbc203b354b61d (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 'src/gui_index.c')
-rw-r--r--src/gui_index.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_index.c b/src/gui_index.c
index 85a9f9c3..145d0f1e 100644
--- a/src/gui_index.c
+++ b/src/gui_index.c
@@ -486,6 +486,7 @@ static void run_indexing_once(struct crystfelproject *proj)
XGandalfOptions *xgandalf_opts;
PinkIndexerOptions *pinkIndexer_opts;
FelixOptions *felix_opts;
+ FromFileOptions *fromfile_opts;
char *old_cwd;
char *tmpdir;
int r;
@@ -514,7 +515,8 @@ static void run_indexing_once(struct crystfelproject *proj)
default_method_options(&taketwoopts,
&xgandalf_opts,
&pinkIndexer_opts,
- &felix_opts);
+ &felix_opts,
+ &fromfile_opts);
ipriv = setup_indexing(methods, cell,
proj->indexing_params.tols,