diff options
author | Thomas White <taw@physics.org> | 2021-04-23 16:26:24 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-04-23 16:40:56 +0200 |
commit | a378be62b61d4c8a67c5523955babbd3f9d17b5c (patch) | |
tree | 18062584caeee30145188e9fe1269837e34434ab /libcrystfel/src/index.c | |
parent | 4154688f5e91772f9a9c0d001316886b74686d9e (diff) |
indexamajig: Generate a unique filename for ZMQ data
The unique filename is needed by the GUI for looking up results in a
stream. Otherwise, the filename is "(null)" for everything and the
lookup just returns the first chunk in the stream.
The filename is generated based on the unique serial number for each
chunk, and is therefore unique across one run of indexamajig regardless
of the number of worker processes (-j). This might have to change in future
to accommodate jobs run across multiple nodes, if there is any demand
for looking at results in one big concatenated stream.
This also changes the condition for deciding when to look for a 'real'
file, to take into account that there is always a non-NULL filename.
Diffstat (limited to 'libcrystfel/src/index.c')
0 files changed, 0 insertions, 0 deletions