diff options
author | Thomas White <taw@physics.org> | 2023-06-06 13:41:52 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2023-06-06 13:41:52 +0200 |
commit | 117ed0d0339163e04290349f9fe468b4bb6982e7 (patch) | |
tree | b96e7dfb22cb27d8272a21f155817f7eec257e3e /src/process_image.c | |
parent | de407aa9fa93192aad6773a53fe51295d9c8cb8e (diff) | |
parent | b5550e4399415fe4863057d6cbd406faf3f2df31 (diff) |
Merge branch 'asapo-producer'
Diffstat (limited to 'src/process_image.c')
-rw-r--r-- | src/process_image.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c index 5bc527a1..8acd3e86 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -56,6 +56,7 @@ #include "predict-refine.h" #include "im-sandbox.h" #include "im-zmq.h" +#include "im-asapo.h" static float **backup_image_data(float **dp, struct detgeom *det) { @@ -177,7 +178,7 @@ static struct image *file_wait_open_read(const char *filename, void process_image(const struct index_args *iargs, struct pattern_args *pargs, Stream *st, int cookie, const char *tmpdir, int serial, struct sb_shm *sb_shared, - char *last_task) + char *last_task, struct im_asapo *asapostuff) { struct image *image; int i; @@ -480,6 +481,8 @@ streamwrite: "%s\n", n, n>1?"s":"", image->filename, image->ev); } + im_asapo_send(asapostuff, image, image->hit); + out: /* Count crystals which are still good */ set_last_task(last_task, "process_image finalisation"); |