Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explicit Format support for non-Dectris byte-offset CBF files #366

Merged
merged 10 commits into from
Nov 3, 2021

Conversation

graeme-winter
Copy link
Collaborator

@graeme-winter graeme-winter commented May 17, 2021

(Note: PR made by @graeme-winter but this message has been re-written by @ndevenish)

This adds explicit format support for CBF files compressed with byte-offset compression, but is not recorded on a Pilatus detector (e.g. would be picked up by FormatCBFFullPilatus).

This means that reading the example ADSC QUANTUM315 SN916 images in dials_regression/image_examples/SPring8_ADSC_SN916 can be read directly, without DetectorBase.

@codecov

This comment has been minimized.

@ndevenish ndevenish changed the title WIP: format for support ADSC Explicit Format support for non-Dectris byte_offset CBF files Oct 30, 2021
@ndevenish ndevenish changed the title Explicit Format support for non-Dectris byte_offset CBF files Explicit Format support for non-Dectris byte-offset CBF files Oct 30, 2021
Not ready to commit to this level of interface yet.
@ndevenish ndevenish marked this pull request as ready for review October 30, 2021 16:59
Copy link
Member

@Anthchirp Anthchirp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Happy with the filecache bits. Rest looks plausible.

src/dxtbx/format/FormatCBFFullByteOffset.py Outdated Show resolved Hide resolved
@ndevenish ndevenish merged commit 6737862 into main Nov 3, 2021
@ndevenish ndevenish deleted the byte-offset-overload branch November 3, 2021 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants