Standardize atomicdistances to use results#5347
Draft
charity-g wants to merge 4 commits intoMDAnalysis:developfrom
Draft
Standardize atomicdistances to use results#5347charity-g wants to merge 4 commits intoMDAnalysis:developfrom
charity-g wants to merge 4 commits intoMDAnalysis:developfrom
Conversation
5 tasks
BradyAJohnston
requested changes
Mar 28, 2026
Member
BradyAJohnston
left a comment
There was a problem hiding this comment.
Some suggestions that should fix the issues with running tests.
The black formatter is also failing. You can run it like this:
uvx black~=24.0 package| # MDAnalysis: A Toolkit for the Analysis of Molecular Dynamics Simulations. | ||
| # J. Comput. Chem. 32 (2011), 2319--2327, doi:10.1002/jcc.21787 | ||
| # | ||
| from mdanalysis.package.MDAnalysis.analysis.results import Results |
Member
There was a problem hiding this comment.
This is what's causing your tests to fail - this mdanalysis.package.MDAnalysis only exists on local file system. You should always just import directly from MDAnalysis - which will become available if you us pip install -e . or uv pip install -e ..
|
|
||
| """ | ||
|
|
||
| from mdanalysis.package.MDAnalysis.analysis.results import ( |
Member
There was a problem hiding this comment.
same issue with imports as in other comment.
| Changes | ||
| * The msd.py inside analysis is changed, and ProgressBar is implemented inside | ||
| _conclude_simple and _conclude_fft functions instead of tqdm (Issue #5144, PR #5153) | ||
| * `MDAnalysis.analysis.atomicdistances.AtomicDistances` results are now consistent with expected`analysis` documentation data type = Results (Issue #4819) |
Member
There was a problem hiding this comment.
needs a space between "expected analysis"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #4819
Changes made in this Pull Request:
MDAnalysis.analysis.atomicdistances.AtomicDistancesresults are now consistent with expectedanalysisdocumentation data type = Results (Issueanalysis.atomicdistances.AtomicDistancesdoes not use Results #4819)LLM / AI generated code disclosure
LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: no
PR Checklist
package/CHANGELOGfile updated?package/AUTHORS? (If it is not, add it!)Developers Certificate of Origin
I certify that I can submit this code contribution as described in the Developer Certificate of Origin, under the MDAnalysis LICENSE.
📚 Documentation preview 📚: https://mdanalysis--5347.org.readthedocs.build/en/5347/