From 96e8393739fdc56ac04830527dc7a9b0ad1133df Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 9 Feb 2023 14:32:54 +0100 Subject: partial_sim: Use separate filename for each frame This makes it possible for the GUI to show the stream correctly. --- src/partial_sim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/partial_sim.c b/src/partial_sim.c index 37cf51ac..88b748ab 100644 --- a/src/partial_sim.c +++ b/src/partial_sim.c @@ -426,7 +426,7 @@ static void run_job(void *vwargs, int cookie) snprintf(image->filename, 255, "%s%i.h5", qargs->image_prefix, wargs->n); } else { - snprintf(image->filename, 255, "dummy.h5"); + snprintf(image->filename, 255, "dummy-%i.h5", wargs->n); } if ( wargs->template_reflist == NULL ) { -- cgit v1.2.3