aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-02-09 14:32:54 +0100
committerThomas White <taw@physics.org>2023-02-09 14:32:54 +0100
commit96e8393739fdc56ac04830527dc7a9b0ad1133df (patch)
treea909a7dff4c97e6fcba3b65c475c11e3aa144d9d /src
parentc165bddef859284d31acae1f4a70d39d1f8e527e (diff)
partial_sim: Use separate filename for each frame
This makes it possible for the GUI to show the stream correctly.
Diffstat (limited to 'src')
-rw-r--r--src/partial_sim.c2
1 files changed, 1 insertions, 1 deletions
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 ) {