-
Notifications
You must be signed in to change notification settings - Fork 832
Enabling of parallelization of analysis.hydrogenbonds.WaterBridgeAnalysis
#5151
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
base: develop
Are you sure you want to change the base?
Changes from 11 commits
de9cd4c
84c74d0
666aabf
946ec67
8db21b4
3b4812f
dd2e21b
6fab4c6
6708442
d6bdae9
e10772c
fca6ca2
844b237
d26ec16
7f06d51
a796920
412c682
49133c5
200843c
5871f5c
cc63480
07fff26
3303da5
4398e13
b1d32ee
504cee5
6dbee6c
e18cb91
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -15,6 +15,9 @@ | |
| from MDAnalysis.analysis.hydrogenbonds.hbond_analysis import ( | ||
| HydrogenBondAnalysis, | ||
| ) | ||
| from MDAnalysis.analysis.hydrogenbonds.wbridge_analysis import ( | ||
| WaterBridgeAnalysis, | ||
| ) | ||
| from MDAnalysis.analysis.nucleicacids import NucPairDist | ||
| from MDAnalysis.analysis.contacts import Contacts | ||
| from MDAnalysis.analysis.density import DensityAnalysis | ||
|
|
@@ -217,3 +220,11 @@ def client_InterRDF_s(request): | |
| @pytest.fixture(scope="module", params=params_for_cls(DistanceMatrix)) | ||
| def client_DistanceMatrix(request): | ||
| return request.param | ||
|
|
||
|
|
||
| # MDAnalysis.analysis.hydrogenbonds.wbridge_analysis | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can remove, but would it not better to keep it for consistency with the other functions, that are also commented in that way like here:
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Would keep for consistency. |
||
|
|
||
|
|
||
| @pytest.fixture(scope="module", params=params_for_cls(WaterBridgeAnalysis)) | ||
| def client_WaterBridgeAnalysis(request): | ||
| return request.param | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be actual timesteps, and not integer indices. Solution would be to save them to
results._timestepsand later use them where needed, while adding deprecation warning toself.timestepsalikeInterRDS_s's approach.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
adjusted the code to use more
results._timesteps. @marinegor could you take a look if it is correct now? :)