aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2021-07-20Update INSTALL.mdThomas White
2021-07-20GUI: Use format stringThomas White
2021-07-19Bump API version to 14Thomas White
2021-07-16INSTALL.md: Add a mention of PKG_CONFIG_PATH for Xgandalf et alThomas White
2021-07-16Rename DST_* to DATA_SOURCE_TYPE_*Thomas White
On some systems, this conflicts with DST_NONE in sys/time.h.
2021-07-15pinkindexer_used: Handle methods=NULLThomas White
In this case, return false because PinkIndexer is never in the list of automatically-chosen indexers.
2021-07-15GUI: Remove extra layer of relative pathsThomas White
Not needed any more.
2021-07-15GUI: Run all jobs with same CWD as GUI itselfThomas White
This requires changing all the paths to relative ones. Previously, the jobs ran with their CWDs set to the corresponding "result" folder. The trouble is, this breaks everything that uses a relative location: image filenames, mask/satmap files referenced by the geometry, etc. Note that this change also means that the temporary folders ("indexamajig.XXX") are now produced in the top-level working directory. Eventually, a GUI option should be added to allow these folders to be put somewhere better (i.e. somewhere fast). Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/44
2021-07-15CrystFELIndexingOpts: Add tooltips for PinkIndexer optionsThomas White
2021-07-15Fix an incorrect error messageThomas White
2021-07-14GUI: Add PinkIndexer options to command lineThomas White
2021-07-14Remove non-API headers from installation listThomas White
Just like the individual indexing methods, these aren't part of the API. peakfinder8.h was there twice, for some reason.
2021-07-14GUI: Get/set PinkIndexer optionsThomas White
2021-07-14GUI: Add PinkIndexer options to 'struct index_params'Thomas White
2021-07-14CrystFELIndexingOpts: Add PinkIndexer optionsThomas White
2021-07-14PinkIndexer: replace long formula with modulus()Thomas White
2021-07-14Add get_combo_idThomas White
2021-07-14GUI: Add placeholders for advanced indexer optionsThomas White
2021-07-14Make all the indexer-specific option structures non-opaqueThomas White
Making them opaque seemed like a nice idea, because all the indexers could take care of their own command-line arguments. However, it doesn't work at all when indexing is run via the API.
2021-07-13GUI: Reject infinite resolution limits for FoMThomas White
2021-07-12GUI: Add Tools->Jump to frameThomas White
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/41
2021-07-12GUI: Update the "About" boxThomas White
2021-07-12GUI: Add --wavelength-estimate and --camera-length-estimateThomas White
Only when using PinkIndexer. Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/25
2021-07-09pattern_sim: Fix typo in --helpThomas White
2021-07-08Revert "Bump stream version to 2.4"Thomas White
Rationale: Although the format has technically changed, CrystFEL 0.9.1 and older do not read the "hdf5/" lines anyway. The new "header" lines are just noise, as far as they are concerned. However, increasing the version number causes older CrystFEL versions to reject streams written by newer CrystFEL versions. This is inconvenient, but will be a particular problem since CrystFEL 0.10.0 will most likely be released without a working "geoptimiser". We therefore need to be able to use older CrystFEL versions for refining geometry. Older versions are perfectly capable of reading newer streams. In general, the semantics of stream version numbers are a bit messed up, and we need to work out what they really mean. This reverts commit fdce01adf9fc5950904b644ea755760cb32ec5b2.
2021-07-07Bump stream version to 2.4Thomas White
The format for storing headers has changed from hdf5/location to header/type/location.
2021-07-07Interpret old-style stream header records as floating pointThomas White
The old way of recording metadata in the stream unfortunately doesn't include any information about the data type. Most of the time, floating point is what's intended. Older CrystFEL doesn't know about integer headers at all, but there might be string values if --copy-hdf5-field was used. By interpreting "hdf5/something = val" as floating-point, most things will work, e.g. camera length from HDF5 header enabling stream to be loaded without access to the image data. Anything that can't be interpreted as floating-point will be noisily ignored when loading the stream.
2021-07-07speed.rst: Update formatting and contentThomas White
2021-07-06online.rst: Fix a typoThomas White
2021-07-06SLURM: Show the real error message if job can't be submittedThomas White
2021-07-05Add article about speedThomas White
2021-07-05indexamajig(1): Clarify --min-peaks default valueThomas White
2021-07-01Meson: FussinessThomas White
2021-07-01CMake: Remove vestigial lineThomas White
2021-06-28Update INSTALL.mdThomas White
Better understanding of the fPIC problem.
2021-06-25Meson: Fix build without DoxygenThomas White
2021-06-25Meson: Remove fallback HDF5 search, and add required minimum versionThomas White
Meson's internal HDF5 search should work in all cases since 0.50.0, subject to issues documented in INSTALL.md.
2021-06-25Update INSTALL.mdThomas White
2021-06-23GUI: Avoid writing '(null)' to project fileThomas White
The problem is, '(null)' is not NULL.
2021-06-23CrystFELSymmetrySelector: Set have_pg when PG is set via APIThomas White