diff options
author | Thomas White <taw@physics.org> | 2020-10-29 14:14:41 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-10-29 14:14:41 +0100 |
commit | 4029011f2097165537b5425f20012d57fdf7ef9c (patch) | |
tree | 691d38974a179db8eec3f6202544808bbdb4b4cd /src/gui_project.c | |
parent | c0fa862b74eb54da3e4d5e859ef6ac5775509f29 (diff) |
Merge backend plumbing
Diffstat (limited to 'src/gui_project.c')
-rw-r--r-- | src/gui_project.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui_project.c b/src/gui_project.c index 3e28e806..f1e1ce4a 100644 --- a/src/gui_project.c +++ b/src/gui_project.c @@ -769,6 +769,14 @@ int save_project(struct crystfelproject *proj) fprintf(fh, "merging.push_res %f\n", proj->merging_params.push_res); + fprintf(fh, "merging.backend %s\n", + proj->backends[proj->merging_backend_selected].name); + for ( i=0; i<proj->n_backends; i++ ) { + struct crystfel_backend *be; + be = &proj->backends[i]; + be->write_merging_opts(be->merging_opts_priv, fh); + } + fprintf(fh, "show_peaks %i\n", proj->show_peaks); fprintf(fh, "show_refls %i\n", proj->show_refls); |