aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2013-02-19 18:13:25 +0100
committerThomas White <taw@physics.org>2013-02-19 18:13:25 +0100
commit8d28f13e79dbec60a6f95a85ecfcf16ba47a73c7 (patch)
treecc2ad112efe6ca2904203016d79d6a8dcdfb0f41 /src
parent59b99486be3865a53049d0c6317157d9f22bc0e1 (diff)
Fix incorrect path in stream (which broke check-near-bragg et al.)
Diffstat (limited to 'src')
-rw-r--r--src/im-sandbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im-sandbox.c b/src/im-sandbox.c
index d393c356..0afe9ff3 100644
--- a/src/im-sandbox.c
+++ b/src/im-sandbox.c
@@ -202,13 +202,13 @@ static void process_image(const struct index_args *iargs,
image.flags = NULL;
image.copyme = iargs->copyme;
image.id = cookie;
- image.filename = filename;
+ image.filename = pargs->filename; /* Relative to top level */
image.beam = iargs->beam;
image.det = iargs->det;
image.crystals = NULL;
image.n_crystals = 0;
- hdfile = hdfile_open(image.filename);
+ hdfile = hdfile_open(filename); /* Relative to temporary folder */
if ( hdfile == NULL ) return;
if ( iargs->element != NULL ) {