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

Fix exclude_images_multiple for trimmed scans #2514

Merged
merged 3 commits into from
Oct 10, 2023

Conversation

dagewa
Copy link
Member

@dagewa dagewa commented Oct 10, 2023

Following #2511, it turns out that sometimes dials.refine trims the scan so that it no longer starts at image number 1. In such cases, the excluded images should always be multiples of the exclude_images_multiple parameter, whatever the first image number is. This change ensures that. Also, this allows the parameter to work correctly if the first few images were excluded earlier, such as during dials.import.

The excluded image numbers should always be a multiple of the
`exclude_images_multiple` parameter, no matter what the start
image of the scan is.
@dagewa dagewa enabled auto-merge (squash) October 10, 2023 13:00
@dagewa dagewa merged commit ba4a34b into main Oct 10, 2023
15 of 18 checks passed
@dagewa dagewa deleted the fix-exclude_images_multiple-for-trimmed-scans branch October 10, 2023 14:11
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.

None yet

2 participants