aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/mosflm.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2018-06-27 17:18:50 +0200
committerThomas White <taw@physics.org>2018-06-28 11:27:49 +0200
commit33dfce497f2dcdcf071f6f83d88756b0f6bd99df (patch)
treedf19280b0a9ee1e3d828a9365bc6e3bb84ed20b6 /libcrystfel/src/mosflm.c
parent946ee4bc4a0bc13a965d170ab959cfe7a2cf1b27 (diff)
Remove worker process numbers from temporary filenames
Since we've had the separate worker folders for a long time, it's not needed any more. Removing them will make the temporary folders easier to clean up.
Diffstat (limited to 'libcrystfel/src/mosflm.c')
-rw-r--r--libcrystfel/src/mosflm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcrystfel/src/mosflm.c b/libcrystfel/src/mosflm.c
index 7b0159ab..36eeb35d 100644
--- a/libcrystfel/src/mosflm.c
+++ b/libcrystfel/src/mosflm.c
@@ -724,13 +724,13 @@ int run_mosflm(struct image *image, void *ipriv)
return 0;
}
- snprintf(mosflm->imagefile, 127, "xfel-%i_001.img", image->id);
+ snprintf(mosflm->imagefile, 127, "xfel_001.img");
write_img(image, mosflm->imagefile); /* Dummy image */
- snprintf(mosflm->sptfile, 127, "xfel-%i_001.spt", image->id);
+ snprintf(mosflm->sptfile, 127, "xfel_001.spt");
write_spt(image, mosflm->sptfile);
- snprintf(mosflm->newmatfile, 127, "xfel-%i.newmat", image->id);
+ snprintf(mosflm->newmatfile, 127, "xfel.newmat");
remove(mosflm->newmatfile);
mosflm->pid = forkpty(&mosflm->pty, NULL, NULL, NULL);