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

Remove default parallelizable parameter in NoJump transformation #4604

Merged
merged 4 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package/CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The rules for this file:
* 2.8.0

Fixes
* Fix #4259 via removing argument `parallelizable` of `NoJump` transformation.
* Fix doctest errors of analysis/pca.py related to rounding issues
(Issue #3925, PR #4377)
* Convert openmm Quantity to raw value for KE and PE in OpenMMSimulationReader.
Expand Down
5 changes: 1 addition & 4 deletions package/MDAnalysis/transformations/nojump.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,8 @@ def __init__(
self,
check_continuity=True,
max_threads=None,
# NoJump transforms are inherently unparallelizable, since
# it depends on the previous frame's unwrapped coordinates
parallelizable=False,
):
super().__init__(max_threads=max_threads, parallelizable=parallelizable)
super().__init__(max_threads=max_threads, parallelizable=False)
orbeckst marked this conversation as resolved.
Show resolved Hide resolved
self.prev = None
self.old_frame = 0
self.older_frame = "A"
Expand Down
Loading