Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-09-17 | Handle headers from in-memory HDF5s | Thomas White | |
2021-09-17 | Handle in-memory HDF5s | Thomas White | |
2021-09-17 | Avoid pointless passing of image/event | Thomas White | |
2021-09-07 | image_hdf5_read_header_to_cache: Remove double free on error path | Thomas White | |
2021-07-23 | image_hdf5_write: Avoid weird pass-by-reference | Thomas White | |
2021-07-23 | Formatting | Thomas White | |
2021-07-22 | Clean up shadowed variables | Thomas White | |
2021-07-21 | image_hdf5_read_peaks_cxi: Fix error checks | Thomas White | |
2021-07-21 | Add missing cleanup on error paths | Thomas White | |
2021-06-22 | Add string terminator for fixed-length HDF5 strings from arrays | Thomas White | |
2021-06-21 | Restore HDF5 string handling | Thomas White | |
Closes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/36 | |||
2021-05-28 | Pass errors back when retrieving values for wavelength etc | Thomas White | |
Big improvement on just sending NAN back. Fixes: https://gitlab.desy.de/thomas.white/crystfel/-/issues/37 | |||
2021-05-17 | Resolve FIXMEs and TODOs | Thomas 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-12 | Rework header caching layer | Thomas 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-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-01 | Implement loading of saturation map | Thomas White | |
2021-03-30 | Add header caching layer | Thomas White | |
This simultaneously implements --copy-header/--copy-hdf5-field and gives access to metadata (e.g. detector position or wavelength) when loading from a stream with header-specified values. | |||
2021-03-22 | Allow HDF5 path substitution when there are too many placeholder values | Thomas White | |
This allows, for example, masks which have fewer % signs in their HDF5 locations than the main data. | |||
2021-03-09 | Add the ability to use multiple bad pixel masks at once | Thomas White | |
2021-03-05 | Mass update of copyright dates in source code comments | Thomas White | |
2020-09-16 | image_hdf5_read: Don't call image_free | Thomas White | |
You didn't allocate it, so you don't free it. | |||
2020-09-16 | Fix incorrect logic in HDF5 expansion | Thomas White | |
2020-09-07 | Catch another "NULL" event -> // | Thomas White | |
2020-08-04 | Add image_write() | Thomas White | |
This is a one-to-one transfer of the old hdf5_write_image() | |||
2020-07-30 | Add missing config.h includes | Thomas White | |
2020-07-30 | Eliminate duplicate symbols | Thomas White | |
This makes searching easier, and also permits Meson's unity build mode. | |||
2020-07-29 | Fix a couple of memory bugs in event expansion | Thomas White | |
2020-07-29 | const-cleaning | Thomas White | |
2020-07-29 | Move image structure creation up to image_read() | Thomas White | |
2020-07-29 | Add missing newlines | Thomas White | |
2020-07-29 | Handle scalar values for HDF5 headers | Thomas White | |
2020-07-29 | Set default event ID when reading from HDF5 with NULL event | Thomas White | |
2020-07-29 | Avoid segfault if there are no panels in DataTemplate | Thomas White | |
Obviously, this should never happen. | |||
2020-07-29 | Recognise .cxi extension as HDF5 | Thomas White | |
2020-07-29 | Improve error message | Thomas White | |
2020-07-29 | is_hdf5_file: Only check extension | Thomas White | |
It seems that H5Fis_hdf5 doesn't close the file. So, we rapidly run out of file descriptors. Also, opening each file just to enumerate single-frame files seems like a waste of time. | |||
2020-07-29 | Avoid event enumeration if only one event is possible | Thomas White | |
The enumeration works in this case, of course, but is a waste of a not insignificant amount of time. | |||
2020-07-29 | Factorise num_path_placeholders | Thomas White | |
2020-07-29 | Improve error message when peak list is not given in DataTemplate | Thomas White | |
2020-07-29 | Make sure all HDF5 resources are freed | Thomas White | |
2020-07-29 | Improve error message | Thomas White | |
2020-07-29 | Handle event expansion even for single-event files | Thomas White | |
2020-07-29 | Implement dimension part of event expansion, and clean up tests | Thomas White | |
2020-07-29 | Path part of event expansion | Thomas White | |
2020-07-29 | Fix image_hdf5_read_peaks_cxi | Thomas White | |
2020-07-29 | image_hdf5_get_value without 'struct event' | Thomas White | |
2020-07-29 | substitute_path: Special case for no placeholders | Thomas White | |
2020-07-29 | Remove events.c, part 2 | Thomas White | |
New event parsing, done at the last minute in image-hdf5.c | |||
2020-07-29 | Remove events.c, part 1 | Thomas White | |
2020-07-29 | Tidy up | Thomas White | |
Regarding check_path_existence: This was a very complicated procedure, for not very much gain. The attempt to open a dataset for real, which invariably follows, can still fail after this check. |