diff options
author | Thomas White <taw@physics.org> | 2020-03-16 11:31:47 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:24 +0200 |
commit | 43a5b52f414eb6591ba8533435ae61c0a2fcd7e7 (patch) | |
tree | 3f00ccfd0ddae866b0f2967cca4dba5d2d6796f5 /src/crystfel_gui.c | |
parent | 6ec178c76a4298680f497b3a043ec1198d3a66b2 (diff) |
Skeleton indexing and backend stuff
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r-- | src/crystfel_gui.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c index cd4ba58d..ab9ce0e2 100644 --- a/src/crystfel_gui.c +++ b/src/crystfel_gui.c @@ -46,6 +46,8 @@ #include "crystfelimageview.h" #include "crystfel_gui.h" #include "gui_peaksearch.h" +#include "gui_index.h" +#include "gui_backend_local.h" static void show_help(const char *s) @@ -525,7 +527,7 @@ static void add_task_buttons(GtkWidget *vbox, struct crystfelproject *proj) add_button(vbox, "Peak detection", "edit-find", G_CALLBACK(peaksearch_sig), proj); add_button(vbox, "Determine unit cell", "document-page-setup", - G_CALLBACK(NULL), proj); + G_CALLBACK(unitcell_sig), proj); add_button(vbox, "Index and integrate", "system-run", G_CALLBACK(NULL), proj); add_button(vbox, "Merge", "applications-science", @@ -609,6 +611,7 @@ int main(int argc, char *argv[]) proj.peak_search_params.pk_inn = 3.0; proj.peak_search_params.pk_mid = 4.0; proj.peak_search_params.pk_out = 5.0; + proj.backend = backend_local; proj.window = gtk_window_new(GTK_WINDOW_TOPLEVEL); gtk_window_set_title(GTK_WINDOW(proj.window), "CrystFEL"); |