diff options
author | Thomas White <taw@physics.org> | 2020-09-04 15:53:33 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-09-04 15:53:33 +0200 |
commit | a1a4d92fd5814bd1b7f8fb1426e191e6ad5be54e (patch) | |
tree | 170cb8a08f2cfcc2700f8b6d333ee47c244a90cd /src/gui_backend_local.c | |
parent | 601aec99d95fb98f936e1d417370c957dd31d02e (diff) |
Add results from new indexing job
Diffstat (limited to 'src/gui_backend_local.c')
-rw-r--r-- | src/gui_backend_local.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/gui_backend_local.c b/src/gui_backend_local.c index a43e3632..e63d8379 100644 --- a/src/gui_backend_local.c +++ b/src/gui_backend_local.c @@ -152,7 +152,8 @@ static void *run_indexing(const char *job_title, char *geom_filename, struct peak_params *peak_search_params, struct index_params *indexing_params, - void *opts_priv) + void *opts_priv, + struct crystfelproject *proj) { struct local_indexing_opts *opts = opts_priv; GIOChannel *ioch; @@ -170,6 +171,7 @@ static void *run_indexing(const char *job_title, GFile *cwd_file; GFile *notes_file; char *notes_path; + char **streams; FILE *fh; workdir = strdup(job_title); @@ -254,6 +256,11 @@ static void *run_indexing(const char *job_title, index_readable, job); + streams = malloc(sizeof(char *)); + if ( streams != NULL ) { + streams[0] = strdup("crystfel.stream"); + add_result(proj, job_title, streams, 1); + } return job; } |