aboutsummaryrefslogtreecommitdiff
path: root/src/gui_ambi.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-02-17 17:22:28 +0100
committerThomas White <taw@physics.org>2021-02-17 17:22:28 +0100
commite0437375017e504124cab53e5d19f4da499e88e7 (patch)
tree2963056cf418fbaeecf0e398b5e7a1000b004cd7 /src/gui_ambi.h
parent5a549e4fdc6265748fa2eabacb19f5ff850d27eb (diff)
GUI: Re-work local backend plumbing
A single command line is not expressive enough for at least two cases: process_hkl, which needs to be run two extra times to generate the splits, and ambigator, which needs to have its input streams concatenated first. This also splits out the routine for creating the working folder and writing the notes file.
Diffstat (limited to 'src/gui_ambi.h')
-rw-r--r--src/gui_ambi.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui_ambi.h b/src/gui_ambi.h
index f63c29a0..f577e3c1 100644
--- a/src/gui_ambi.h
+++ b/src/gui_ambi.h
@@ -36,4 +36,10 @@
extern gint ambi_sig(GtkWidget *widget,
struct crystfelproject *proj);
+extern int write_ambigator_script(const char *filename,
+ struct gui_indexing_result *input,
+ const char *n_thread_str,
+ struct ambi_params *params,
+ const char *out_stream);
+
#endif