diff options
author | Thomas White <taw@physics.org> | 2018-06-27 17:18:50 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2018-06-28 11:27:49 +0200 |
commit | 33dfce497f2dcdcf071f6f83d88756b0f6bd99df (patch) | |
tree | df19280b0a9ee1e3d828a9365bc6e3bb84ed20b6 /libcrystfel/src/dirax.c | |
parent | 946ee4bc4a0bc13a965d170ab959cfe7a2cf1b27 (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/dirax.c')
-rw-r--r-- | libcrystfel/src/dirax.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/dirax.c b/libcrystfel/src/dirax.c index 0f5b5741..53090c7c 100644 --- a/libcrystfel/src/dirax.c +++ b/libcrystfel/src/dirax.c @@ -277,7 +277,7 @@ static void dirax_send_next(struct image *image, struct dirax_data *dirax) break; case 2 : - snprintf(tmp, 31, "read xfel-%i.drx\n", image->id); + snprintf(tmp, 31, "read xfel.drx\n"); dirax_sendline(tmp, dirax); break; @@ -476,7 +476,7 @@ static void write_drx(struct image *image) int i; char filename[1024]; - snprintf(filename, 1023, "xfel-%i.drx", image->id); + snprintf(filename, 1023, "xfel.drx"); fh = fopen(filename, "w"); if ( !fh ) { |