aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-05-28GUI: Store relative paths of resultsThomas White
This allows project folders to be relocated more easily. At the same time, I fixed the weird ownership semantics of add_indexing_result and add_merge_result. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/31
2021-05-28Pass errors back when retrieving values for wavelength etcThomas White
Big improvement on just sending NAN back. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/37
2021-05-25Fix dummy prototype for im_zmq_connectThomas White
2021-05-19GUI: Add button to reset FoM resolution range to entire dataThomas White
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/11
2021-05-19GUI: Increase size of FoM min resolution boxThomas White
2021-05-18Update online.rstThomas White
2021-05-18Fuss over electrons.rstThomas White
2021-05-17Fix RST backticksThomas White
2021-05-17Add 'article' about electron diffractionThomas White
2021-05-17Resolve FIXMEs and TODOsThomas White
Prompted by the article linked below, for each FIXME/TODO I've either referenced an issue in the tracker, or removed it if it's not worth fixing. https://schleiss.io/plotting-source-code-todos-for-open-source-projects
2021-05-17Mosflm: Remove dead codeThomas White
This removes some old stub code. There doesn't seem to be a big need for doing what the FIXME suggests.
2021-05-17Improve CONTRIBUTING.mdThomas White
2021-05-17GUI: Improve error handling for default_projectThomas White
2021-05-12Don't assume that headers to be copied are floatsThomas White
2021-05-12FussinessThomas White
2021-05-12Fix build without MsgPack (again)Thomas White
2021-05-12Fix build without MsgPackThomas White
2021-05-12Rework header caching layerThomas White
This clears up multiple layering violations which were starting to get in the way. It enables "string" headers to be stored directly, and it will make it much simpler to add new header types in the future. Along the way, this changes all the floating point header stuff to use double precision. This is needed for EuXFEL event IDs. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/34
2021-05-12Fix convert_int and add convert_floatThomas White
convert_int was using strtod. Whoops!
2021-05-12MsgPack: Fix a silly copy/paste errorThomas White
2021-05-11indexamajig: Put cell tolerances and pk/int radii into separate objectsThomas White
Rationale: it makes the JSON structure a bit more logical, and enables things like the following: set_of_params_1.integration.radii == set_of_params_2.integration.radii params.peaksearch.radii == params.integration.radii Previously, these would have required multiple comparisons.
2021-05-11Set panel for bad region when there is only one panelThomas White
When there is only one panel, we can safely assume that fs/ss bad regions refer to it without it being stated in the geometry file. This allows some older Pilatus geometry files to be used without complaints. A further improvement would be to determine the panel when all the data comes from one "slab" so the panel is still ambiguous. However, on further thought it seems like a lot of work to do this reliably in all cases. I'm not even sure that this case in particular is causing anyone problems. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/32
2021-05-11GUI: Fix loading of merging parameters from project fileThomas White
Apparently, I can't count.
2021-05-11GUI: Fix checkbox logic in CrystFELMergeOptsThomas White
2021-05-11GUI: Ensure that streams get re-scanned after job terminationThomas White
Previously, they would not get scanned because no job was running. We need one more scan after a job exits to make sure everything is up to date.
2021-05-11Add the 'real' implementation of CrystFELSymmetrySelectorThomas White
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/13
2021-05-11Add set_combo_id()Thomas White
2021-05-07Add deselect_when_active()Thomas White
2021-05-07Add has_unique_axis()Thomas White
2021-05-07GUI: Add missing initialisation/load/save for ambi.backendThomas White
2021-05-07MsgPack: Warn if dtempl->peak_list is NULLThomas White
2021-05-07MsgPack: Use the right pointer for "bin" keysThomas White
2021-05-07MsgPack: Use top-level object directly if it is a mapThomas White
2021-05-05indexamajig: Add --zmq-requestThomas White
This (re-)adds the ability to get data via a request/reply socket. See afcb7b568947c for when it was removed.
2021-05-05indexamajig: Add a missing breakThomas White
This fixes --threshold when --zmq-subscribe is used.
2021-04-30GUI: Take optional stream on command lineThomas White
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/12
2021-04-30GUI: Force results selector to "from GUI" when peak search window is openedThomas White
2021-04-30GUI: Fix force_refls_onThomas White
A silly cut+paste error.
2021-04-30GUI: When indexing one frame, don't force results selector or repeat peak searchThomas 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-30indexamajig: Fix an incorrect error messageThomas White
2021-04-30write_to_mtz: Fix column names and typesThomas White
2021-04-29MsgPack: Handle floating-point data, fix array readThomas White
2021-04-29MsgPack: Handle strings if they can be converted to integersThomas White
2021-04-28MsgPack: Remove warning about multiple objectsThomas White
If this happens once, it'll probably happen every frame. This makes things very noisy.
2021-04-27indexamajig: Fix an error messageThomas White
2021-04-27Complain if there are unused defaults in geometry fileThomas 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-27Fix #include in filters.cThomas White
2021-04-27Rename libcrystfel's config.h to libcrystfel-config.hThomas 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-27Mass update of copyright dates in manpagesThomas White
2021-04-27Swap the order of iteration in filters.cThomas 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.