diff options
author | Thomas White <taw@physics.org> | 2014-10-16 16:28:35 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-10-23 17:02:32 +0200 |
commit | cb08ffbe0adeed6502db70f3380059800464726d (patch) | |
tree | 0dccc8ee60ccad060fbb8778c4c15a3e52fa0074 /src/process_image.c | |
parent | 64a006630632c58be1ca740d7f12041879da6e00 (diff) |
Add serial numbers to chunks
Diffstat (limited to 'src/process_image.c')
-rw-r--r-- | src/process_image.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/process_image.c b/src/process_image.c index 225d50e3..68708fd7 100644 --- a/src/process_image.c +++ b/src/process_image.c @@ -112,7 +112,8 @@ static void refine_radius(Crystal *cr) void process_image(const struct index_args *iargs, struct pattern_args *pargs, - Stream *st, int cookie, const char *tmpdir, int results_pipe) + Stream *st, int cookie, const char *tmpdir, int results_pipe, + int serial) { float *data_for_measurement; size_t data_size; @@ -134,6 +135,7 @@ void process_image(const struct index_args *iargs, struct pattern_args *pargs, image.det = iargs->det; image.crystals = NULL; image.n_crystals = 0; + image.serial = serial; hdfile = hdfile_open(image.filename); if ( hdfile == NULL ) { |