aboutsummaryrefslogtreecommitdiff
path: root/src/process_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process_image.c')
-rw-r--r--src/process_image.c4
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 ) {