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

Pattern fix #920

Closed
wants to merge 17 commits into from
Closed

Pattern fix #920

wants to merge 17 commits into from

Conversation

jacob720
Copy link
Contributor

Quick fix for issue to do with patterns in the statistics class.

dkazanc and others added 17 commits March 21, 2022 14:11
RMSD calculation is very slow, so turning it off by default until a faster method is found.
…iterative loops

Before this change, the hardcoded setting of `max_frames` of these extra
`PluginData` objects to `'single'` was potentially causing the input
data being given to plugins in iterations > 0 to be different than
desired.

In the context of iterative alignment, this bug was causing the
`ForwardProjectorGpu` plugin to be given 3D data (as expected) on
iteration 0, but 2D data (not as expected) on iteration 1, resulting in
an error.

Appropriately setting `max_frames` of these extra `PluginData` objects
resolves this issue.

(As a side note, you can refer to 27c132c to see when these extra
`PluginData` objects were first introduced in the context of
pattern-switching).
@jacob720 jacob720 closed this Apr 28, 2022
@dkazanc dkazanc deleted the pattern-fix branch April 29, 2022 11:51
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