aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image-hdf5.c
AgeCommit message (Collapse)Author
2021-03-09Add the ability to use multiple bad pixel masks at onceThomas White
2021-03-05Mass update of copyright dates in source code commentsThomas White
2020-09-16image_hdf5_read: Don't call image_freeThomas White
You didn't allocate it, so you don't free it.
2020-09-16Fix incorrect logic in HDF5 expansionThomas White
2020-09-07Catch another "NULL" event -> //Thomas White
2020-08-04Add image_write()Thomas White
This is a one-to-one transfer of the old hdf5_write_image()
2020-07-30Add missing config.h includesThomas White
2020-07-30Eliminate duplicate symbolsThomas White
This makes searching easier, and also permits Meson's unity build mode.
2020-07-29Fix a couple of memory bugs in event expansionThomas White
2020-07-29const-cleaningThomas White
2020-07-29Move image structure creation up to image_read()Thomas White
2020-07-29Add missing newlinesThomas White
2020-07-29Handle scalar values for HDF5 headersThomas White
2020-07-29Set default event ID when reading from HDF5 with NULL eventThomas White
2020-07-29Avoid segfault if there are no panels in DataTemplateThomas White
Obviously, this should never happen.
2020-07-29Recognise .cxi extension as HDF5Thomas White
2020-07-29Improve error messageThomas White
2020-07-29is_hdf5_file: Only check extensionThomas 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-29Avoid event enumeration if only one event is possibleThomas White
The enumeration works in this case, of course, but is a waste of a not insignificant amount of time.
2020-07-29Factorise num_path_placeholdersThomas White
2020-07-29Improve error message when peak list is not given in DataTemplateThomas White
2020-07-29Make sure all HDF5 resources are freedThomas White
2020-07-29Improve error messageThomas White
2020-07-29Handle event expansion even for single-event filesThomas White
2020-07-29Implement dimension part of event expansion, and clean up testsThomas White
2020-07-29Path part of event expansionThomas White
2020-07-29Fix image_hdf5_read_peaks_cxiThomas White
2020-07-29image_hdf5_get_value without 'struct event'Thomas White
2020-07-29substitute_path: Special case for no placeholdersThomas White
2020-07-29Remove events.c, part 2Thomas White
New event parsing, done at the last minute in image-hdf5.c
2020-07-29Remove events.c, part 1Thomas White
2020-07-29Tidy upThomas 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.
2020-07-29Add is_hdf5_fileThomas White
Avoids using HDF5 API calls all over the code
2020-07-29Move HDF5 and CBF stuff into separate filesThomas White