aboutsummaryrefslogtreecommitdiff
path: root/src/gui_backend_slurm.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-18 13:05:45 +0100
committerThomas White <taw@physics.org>2021-02-18 13:05:45 +0100
commit2046a1ab77960e1e386af4c099674bafeae7af1f (patch)
tree03414365000f25c3a43c926d7071be1c563e317b /src/gui_backend_slurm.c
parent1b764d1de9b199b8064e0a4e961d5053ab8e38b7 (diff)
SLURM: Create an ambigator script, not a merge one
Whoops.
Diffstat (limited to 'src/gui_backend_slurm.c')
-rw-r--r--src/gui_backend_slurm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui_backend_slurm.c b/src/gui_backend_slurm.c
index c75d6ab8..5bda73ce 100644
--- a/src/gui_backend_slurm.c
+++ b/src/gui_backend_slurm.c
@@ -36,6 +36,7 @@
#include "gui_project.h"
#include "gui_index.h"
#include "gui_merge.h"
+#include "gui_ambi.h"
#include "crystfel_gui.h"
@@ -781,8 +782,8 @@ static void *run_ambi(const char *job_title,
g_object_unref(sc_gfile);
if ( sc_filename == NULL ) return NULL;
- if ( !write_merge_script(sc_filename, input, "`nproc`",
- &proj->merging_params, "crystfel.hkl") )
+ if ( !write_ambigator_script(sc_filename, input, "`nproc`",
+ &proj->ambi_params, stream_str) )
{
char *workdir_str = g_file_get_path(workdir);
job = start_slurm_job(SLURM_JOB_AMBIGATOR,