Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-04-30 | GUI: Force results selector to "from GUI" when peak search window is opened | Thomas White | |
2021-04-30 | GUI: Fix force_refls_on | Thomas White | |
A silly cut+paste error. | |||
2021-04-30 | GUI: When indexing one frame, don't force results selector or repeat peak search | Thomas White | |
The logic behind forcing the results selector (to "Calculations within GUI") was that anything calculated in the GUI should appear under that selection only. Unfortunately, when loading a stream without images, there is nothing at all to be seen under this selection, not even an image. Forcing the selector resulted in proj->cur_image = NULL and therefore a crash when trying to index based on that. Similarly, the call to update_peaks expected image data, but there is none. In reality, we have a perfectly good image structure with peaks from the stream already. This allows a non-image stream to be "re-indexed" based on the peaks. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/33 | |||
2021-04-30 | indexamajig: Fix an incorrect error message | Thomas White | |
2021-04-30 | write_to_mtz: Fix column names and types | Thomas White | |
2021-04-29 | MsgPack: Handle floating-point data, fix array read | Thomas White | |
2021-04-29 | MsgPack: Handle strings if they can be converted to integers | Thomas White | |
2021-04-28 | MsgPack: Remove warning about multiple objects | Thomas White | |
If this happens once, it'll probably happen every frame. This makes things very noisy. | |||
2021-04-27 | indexamajig: Fix an error message | Thomas White | |
2021-04-27 | Complain if there are unused defaults in geometry file | Thomas White | |
This will help to avoid mistakes when people put statements at the end of the geometry file, rather than the top. Closes https://gitlab.desy.de/thomas.white/crystfel/-/issues/20. | |||
2021-04-27 | Fix #include in filters.c | Thomas White | |
2021-04-27 | Rename libcrystfel's config.h to libcrystfel-config.h | Thomas White | |
This removes the big potential for confusion, which has happened several times (see e.g. 095cbebaf6). It also fixes in-tree builds with CMake (but seriously, always use out-of-tree builds). Fixes #2. | |||
2021-04-27 | Mass update of copyright dates in manpages | Thomas White | |
2021-04-27 | Swap the order of iteration in filters.c | Thomas White | |
This code hasn't been looked at for a very long time, and can be made a bit faster by iterating in a more cache-friendly way. | |||
2021-04-23 | Fix build without MsgPack | Thomas White | |
2021-04-23 | indexamajig: Generate a unique filename for ZMQ data | Thomas White | |
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. | |||
2021-04-23 | Add documentation about ZMQ/MsgPack | Thomas White | |
2021-04-23 | MsgPack: Implement peak list loading | Thomas White | |
2021-04-23 | indexamajig: Mercilessly ignore short ZMQ messages | Thomas White | |
This is a hack to filter out what seems like "keepalive" messages. It's nasty, but better than contaminating the stream with spurious chunks. | |||
2021-04-23 | MsgPack: More build system fixes | Thomas White | |
The changes in b22f6f524 were incorrect. config.h should never be included from libcrystfel headers, because that will include the main CrystFEL program config.h instead. | |||
2021-04-23 | Clarify some error messages | Thomas White | |
2021-04-23 | MsgPack: improve an error message | Thomas White | |
2021-04-23 | Update documentation about geometry files | Thomas White | |
2021-04-23 | Improve documentation about reflection data export | Thomas White | |
2021-04-23 | indexamajig: Add --zmq-subscribe | Thomas White | |
2021-04-23 | MsgPack: Implement extraction of image data | Thomas White | |
2021-04-21 | indexamajig: Replace --zmq-msgpack with --zmq-input | Thomas White | |
This removes some unnecessary work (getting the address from the file) and seems cleaner. | |||
2021-04-21 | indexamajig: Set indexing,integration=null if we are not indexing at all | Thomas White | |
2021-04-21 | Remove index_args->max_n_peaks | Thomas White | |
It's not used anywhere. | |||
2021-04-21 | indexamajig --harvest-file: Handle no cell or no indexing methods | Thomas White | |
2021-04-20 | MsgPack: Implement decoding numeric values | Thomas White | |
2021-04-20 | MsgPack: Improve a warning message | Thomas White | |
2021-04-20 | indexamajig: Fix --no-image-data/--no-mask-data | Thomas White | |
2021-04-20 | image_read_data_block: Warn user if things go wrong | Thomas White | |
2021-04-20 | Fix memory handling semantics for ZMQ data | Thomas White | |
2021-04-20 | image_read_data_block: Set the correct data type | Thomas White | |
2021-04-20 | Build system fixes for MsgPack | Thomas White | |
2021-04-19 | Unify loading of image data and header values | Thomas White | |
This moves the entry point for loading MsgPack data to a new function, image_read_data_block. Inside image.c, the image structure can be created using exactly the same functions as for data files. | |||
2021-04-19 | Move file_exists to utils (and eliminate several duplicates) | Thomas White | |
2021-04-16 | Remove requirement for data path to contain "/" | Thomas White | |
For data formats other than HDF5, the location can be anything. | |||
2021-04-16 | Meson: Update and fix MsgPack/ZMQ dependencies | Thomas White | |
2021-04-15 | Separate ZMQ from MessagePack, switch to pub/sub socket | Thomas White | |
Indexamajig uses only ZMQ, to receive streaming data, while libcrystfel uses only msgpack to implement another type of image format. The two of these are eventually tied together in process_image, which does this: if ( have_zmq_data ) interpret_zmq_data_as_msgpack; - however, they would be easy to split up if we wanted to do something else (CBF data over ZMQ, anyone?). This commit also switches the ZMQ connector to use a pub/sub socket instead of a request/reply one. This matches changes in OnDA. At the moment, the MessagePack image reader simply dumps the object to disk. | |||
2021-04-14 | cell_tool: Fix a big memory leak | Thomas White | |
2021-04-13 | Fussiness | Thomas White | |
2021-04-13 | pattern_sim: Fix incorrect argument order for detgeom_transform_coords | Thomas White | |
2021-04-08 | get_hkl: Write symmetry into output file | Thomas White | |
2021-04-08 | Fix bugs in gen-sfs-ano | Thomas White | |
2021-04-08 | Record infinite values as 'null' in JSON | Thomas White | |
Infinity isn't allowed in JSON. 'Null' should serve equally well to indicate "the relevant feature has been switched off". | |||
2021-04-08 | indexamajig: Add a missing harvest parameter | Thomas White | |
2021-04-01 | Local BE: Fix ownership of workdir GFile | Thomas White | |