aboutsummaryrefslogtreecommitdiff
path: root/src/gui_backend_local.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-07-12 14:02:04 +0200
committerThomas White <taw@physics.org>2021-07-12 14:02:04 +0200
commitb1ae07a6ca931096514671f0ea226557a570e37a (patch)
tree7eb3b5807ba4e7113480126c81db0f267033e59b /src/gui_backend_local.c
parentae069e830874c805646d9d9a2c1b0a2c7eb014a8 (diff)
GUI: Add --wavelength-estimate and --camera-length-estimate
Only when using PinkIndexer. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/25
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r--src/gui_backend_local.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c
index 97bb9d7a..d78fc037 100644
--- a/src/gui_backend_local.c
+++ b/src/gui_backend_local.c
@@ -505,7 +505,9 @@ static void *run_merging(const char *job_title,
static void *run_indexing(const char *job_title,
const char *job_notes,
struct crystfelproject *proj,
- void *opts_priv)
+ void *opts_priv,
+ double wavelength_estimate,
+ double clen_estimate)
{
struct local_indexing_opts *opts = opts_priv;
struct local_job *job;
@@ -539,7 +541,9 @@ static void *run_indexing(const char *job_title,
"crystfel.stream",
NULL, 1,
&proj->peak_search_params,
- &proj->indexing_params) )
+ &proj->indexing_params,
+ wavelength_estimate,
+ clen_estimate) )
{
char *args[3];
args[0] = "sh";