aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src
AgeCommit message (Collapse)Author
2021-10-20Set crystal name in MTZ filesThomas White
When using the GUI, it will be set to the corresponding indexing result name.
2021-10-20Reject geometry file if wavelength isn't specifiedThomas White
2021-10-20image_hdf5_read_peaks_cxi: Make sure array is big enoughThomas White
2021-10-20FussinessThomas White
2021-10-20image_hdf5_read_header_to_cache: Make space for terminatorThomas White
2021-10-20Add a commentThomas White
2021-10-13Make zlib dependency optionalThomas White
2021-10-13Remove NCurses dependencyThomas White
It's only used once, to get background colours for 'indexamajig --int-diag', itself a rarely used feature. The dependency itself seems to cause problems for some people, particularly those not using system libraries for everything. So I think it's better just to remove it, and use ANSI escape codes directly.
2021-09-29Remove old referencesThomas White
2021-09-17Warn if in-memory CBF is attemptedThomas White
2021-09-17Handle headers from in-memory HDF5sThomas White
2021-09-17Handle in-memory HDF5sThomas White
2021-09-17Avoid pointless passing of image/eventThomas White
2021-09-07assplode(): Add some assertionsThomas White
2021-09-07get_equiv: Bail out on error pathThomas White
Error handling is sloppy here.
2021-09-07check_box: Fix type used for sizeofThomas White
2021-09-07TakeTwo: Check for empty observed vector listThomas White
2021-09-07image_hdf5_read_header_to_cache: Remove double free on error pathThomas White
2021-09-07fom_select_reflection_pairs: Keep zeroed intensities in datasetThomas White
Note the re-ordering of tasks, and the removal of 'continue'.
2021-09-07init_fom: Clean up on error pathThomas White
2021-09-07filter_noise_in_panel: Fix panel edge behaviourThomas White
2021-09-07lookup_panel: Check that panel name is not NULLThomas White
2021-09-07load_cell_from_file: Check fgets return value for first lineThomas White
2021-09-03Fix typo and failing tests from previous commitThomas White
2021-09-03Reject geometry file if fs and ss directions are not specifiedThomas White
2021-08-20write_to_xds: Add missing 'S' (!)Thomas White
2021-08-20Mosflm: Add -n option when probingThomas White
2021-08-13Increase threshold for integration warningThomas White
The warning about "XXX reflections couldn't be integrated" is tiresome - it appears for practically every indexed pattern because there are always some reflections that fall in bad regions or at panel edges. This suppresses the warning unless the number of integration failures is more than a quarter of the total number of reflections.
2021-07-23image_hdf5_write: Avoid weird pass-by-referenceThomas White
2021-07-23Add field widths to all sscanf("%s")Thomas White
2021-07-23TakeTwo: Remove unused variablesThomas White
2021-07-23TakeTwo: Avoid potential NULL dereference on error pathThomas White
2021-07-23rtnl_cmp: Don't use rational type for intermediate resultThomas White
See 4fbe2e349908a53032b3f23c2180a46e4f770c92.
2021-07-23FormattingThomas White
2021-07-23do_op/get_matrix_name: Rename shadow variablesThomas White
2021-07-23stream_make_index: Remove unused assignmentThomas White
2021-07-23read_crystal: Remove unused varibalesThomas White
2021-07-23spectrum_get_density_at_k: Switch order of checksThomas White
The old way could potentially read beyond the bounds of the array.
2021-07-23rtnl_add: Don't use rational type for intermediate resultThomas White
It's confusing and unnecessary.
2021-07-23asdf: Rename shadow variableThomas White
2021-07-22Clean up shadowed variablesThomas White
2021-07-21read_cbf_data: Fix typesThomas White
'buf' has to be char *, otherwise "buf+len" isn't portable. 'len_read' has to be int, because that's the return type of gzread. If the value is immediately put into a size_t, the sign information is lost and we can no longer tell if gzread() failed.
2021-07-21do_integral: Remove unnecessary assignmentsThomas White
These local variables were being assigned just before returning.
2021-07-21safe_khalf: Use NAN instead of 0.0/0.0Thomas White
2021-07-21image_hdf5_read_peaks_cxi: Fix error checksThomas White
2021-07-21asdf: Remove unnecessary checkThomas White
'changed' is initialised to zero, so there's no way this check can fail.
2021-07-21Fix random_partiality()Thomas White
2021-07-21Reduce variable scope where possibleThomas White
2021-07-21Make sure that memory gets freed on realloc failureThomas White
2021-07-21Add missing cleanup on error pathsThomas White