From 33c6e3f3250c983a13f9967b4ae4923fa7b5cd18 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 6 Apr 2010 16:31:55 +0200 Subject: Include filename in --near-bragg output --- src/indexamajig.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/indexamajig.c') diff --git a/src/indexamajig.c b/src/indexamajig.c index 3668adf8..f4733883 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -188,6 +188,7 @@ static struct image *get_simage(struct image *template, int alternate) image->lambda = ph_en_to_lambda(eV_to_J(1.8e3)); image->features = template->features; + image->filename = template->filename; return image; } @@ -245,8 +246,9 @@ static void *process_image(void *pargsv) image.data = NULL; image.indexed_cell = NULL; image.id = pargs->id; + image.filename = filename; - STATUS("Processing '%s'\n", filename); + STATUS("Processing '%s'\n", image.filename); result = malloc(sizeof(*result)); if ( result == NULL ) return NULL; -- cgit v1.2.3