Skip to content

fixed multiple typos in python files#5263

Open
jyothiswaroopch wants to merge 1 commit intoMDAnalysis:developfrom
jyothiswaroopch:fix-python-typo
Open

fixed multiple typos in python files#5263
jyothiswaroopch wants to merge 1 commit intoMDAnalysis:developfrom
jyothiswaroopch:fix-python-typo

Conversation

@jyothiswaroopch
Copy link

@jyothiswaroopch jyothiswaroopch commented Feb 28, 2026

Changes made in this Pull Request:

  • Fixed a minor typo to improve code readability.

LLM / AI generated code disclosure

LLMs or other AI-powered tools (beyond simple IDE use cases) were used in this contribution: no

PR Checklist

  • Issue raised/referenced?
  • Tests updated/added?
  • Documentation updated/added?
  • package/CHANGELOG file updated?
  • Is your name in package/AUTHORS?
  • LLM/AI disclosure was updated.

Developers Certificate of Origin

I certify that I can submit this code contribution as described in the [Developer Certificate of Origin](https://developercertificate.org/), under the MDAnalysis [LICENSE](https://github.com/MDAnalysis/mdanalysis/blob/develop/LICENSE).


📚 Documentation preview 📚: https://mdanalysis--5263.org.readthedocs.build/en/5263/

Copilot AI review requested due to automatic review settings February 28, 2026 15:27
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello there first time contributor! Welcome to the MDAnalysis community! We ask that all contributors abide by our Code of Conduct and that first time contributors introduce themselves on GitHub Discussions so we can get to know you. You can learn more about participating here. Please also add yourself to package/AUTHORS as part of this PR.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes multiple spelling/typographical errors across Python source files in the MDAnalysis package. All corrections are in comments and docstrings — no logic is changed.

Changes:

  • Corrected common misspellings: analyisanalysis, accomodateaccommodate, overridenoverridden, occurence(s)occurrence(s), dependantdependent, coordiante(s)coordinates, indecesindices, and doubled-word errors (the thethe).
  • One change in tables.py renames the docstring reference from *convertor* to *converter*, but the actual function parameter remains convertor, creating a docstring/signature mismatch.

Reviewed changes

Copilot reviewed 27 out of 27 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
visualization/streamlines_3D.py analyisanalysis in module docstring
visualization/streamlines.py analyisanalysis in module docstring
topology/PSFParser.py accomodateaccommodate in inline comment
topology/PDBParser.py indiciesindices in inline comment
topology/ITPParser.py the thethe in docstring
lib/distances.py coordiantescoordinates in two docstrings
lib/correlations.py dependantdependent in docstring
guesser/tables.py convertorconverter in docstring (mismatches actual parameter name)
core/topologyattrs.py overridenoverridden (×3), dependantdependent in docstrings
core/groups.py occurencesoccurrences in docstring
coordinates/memory.py coordiantecoordinate in inline comment
coordinates/base.py existanceexistence, overridenoverridden in docstrings
coordinates/__init__.py overridenoverridden (×3) in module docstring
coordinates/TRC.py occurencesoccurrences in inline comment
coordinates/PQR.py coordiantescoordinates in module docstring
coordinates/H5MD.py postionposition in error message string
converters/RDKitInferring.py dependantdependent in docstring
auxiliary/base.py indiciesindices in docstring
analysis/rms.py occuredoccurred in docstring
analysis/rdf.py occurencesoccurrences (×2) in docstrings
analysis/msd.py reccomendedrecommended in module docstring
analysis/legacy/x3dna.py the thethe in docstring
analysis/hydrogenbonds/wbridge_analysis.py the thethe in inline comment
analysis/encore/utils.py indecesindices (×3) in docstrings
analysis/encore/covariance.py coordiantescoordinates in docstring
analysis/dielectric.py dependantdependent (×4) in docstring
analysis/align.py the thethe in docstring

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

* Leading whitespace is ignored.

The *convertor* is a function that converts its single argument to
The *converter* is a function that converts its single argument to
Copy link

Copilot AI Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The docstring was updated to reference the parameter as *converter*, but the actual function parameter is still named convertor (line 52: def kv2dict(s, convertor: Any = str):). This creates an inconsistency between the docstring and the function signature—the docstring now describes a parameter name that doesn't exist in the function. Either the parameter itself should be renamed from convertor to converter (which would also require updating the call sites at lines 307 and 381 that use convertor=float), or the docstring should be reverted to *convertor* to match the actual parameter name.

Suggested change
The *converter* is a function that converts its single argument to
The *convertor* is a function that converts its single argument to

Copilot uses AI. Check for mistakes.
@codecov
Copy link

codecov bot commented Feb 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.14%. Comparing base (900d20b) to head (70ba784).

❗ There is a different number of reports uploaded between BASE (900d20b) and HEAD (70ba784). Click for more details.

HEAD has 3 uploads less than BASE
Flag BASE (900d20b) HEAD (70ba784)
5 2
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #5263      +/-   ##
===========================================
- Coverage    93.83%   86.14%   -7.69%     
===========================================
  Files          180      180              
  Lines        22473    22473              
  Branches      3189     3189              
===========================================
- Hits         21088    19360    -1728     
- Misses         923     2660    +1737     
+ Partials       462      453       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants