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

Dials input files for regroup #2

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Dials input files for regroup #2

wants to merge 13 commits into from

Conversation

PrinceWalnut
Copy link
Member

This branch adds support for reading in DIALS expt files instead of Precognition inp files. It includes a dialsgeometry.py with utility functions to support the needed information in regroup.py. The DIALS experiment list is directly available if further info is needed -- I only added functions for the data needed by the main regroup function.

The README and __init__ files are also adjusted.

Notably these are not yet tested to ensure that the conventions don't differ. @dennisbrookner is testing on a dataset for which we have both DIALS and Precognition files to ensure output is identical.

If testing goes well then the PR should allow users to run on DIALS files directly without intermediate processing. Notably this PR only includes code applicable to DIALS stills files -- scans will error out with a useful error message. Future work can extend this to scans if needed, but there will be more bookkeeping involved.

@PrinceWalnut PrinceWalnut added the enhancement New feature or request label Dec 7, 2023
Copy link
Member

@dennisbrookner dennisbrookner left a comment

Choose a reason for hiding this comment

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

This looks great to me! Both I and @maggie-klureza have tested this new code and it works as expected. I think that the documentation changes are appropriate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants