diff options
author | Thomas White <taw@physics.org> | 2021-07-12 14:02:04 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-07-12 14:02:04 +0200 |
commit | b1ae07a6ca931096514671f0ea226557a570e37a (patch) | |
tree | 7eb3b5807ba4e7113480126c81db0f267033e59b /src/gui_backend_slurm.c | |
parent | ae069e830874c805646d9d9a2c1b0a2c7eb014a8 (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_slurm.c')
-rw-r--r-- | src/gui_backend_slurm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c index 97c89be4..e0f74b10 100644 --- a/src/gui_backend_slurm.c +++ b/src/gui_backend_slurm.c @@ -581,7 +581,9 @@ static void write_partial_file_list(GFile *workdir, 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 slurm_indexing_opts *opts = opts_priv; struct slurm_job *job; @@ -645,7 +647,9 @@ static void *run_indexing(const char *job_title, "crystfel-${SLURM_ARRAY_TASK_ID}.stream", serial_offs, 0, &proj->peak_search_params, - &proj->indexing_params) ) + &proj->indexing_params, + wavelength_estimate, + clen_estimate) ) { job = start_slurm_job(GUI_JOB_INDEXING, sc_filename, |