Skip to content

Issue #2395 AtomGroup.guess_bonds#4059

Merged
ianmkenney merged 20 commits intoMDAnalysis:developfrom
AHMED-salah00:issue-#2395
Mar 23, 2023
Merged

Issue #2395 AtomGroup.guess_bonds#4059
ianmkenney merged 20 commits intoMDAnalysis:developfrom
AHMED-salah00:issue-#2395

Conversation

@AHMED-salah00
Copy link
Contributor

@AHMED-salah00 AHMED-salah00 commented Mar 9, 2023

Fixes #2395

Changes made in this Pull Request:

PR Checklist

  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

I have added fudge_factor and lower_bound to AtomGorup.guess_bonds()
@codecov
Copy link

codecov bot commented Mar 9, 2023

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (72e3cdb) 93.56% compared to head (bae5d67) 93.56%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #4059   +/-   ##
========================================
  Coverage    93.56%   93.56%           
========================================
  Files          191      191           
  Lines        25083    25083           
  Branches      4050     4050           
========================================
  Hits         23470    23470           
  Misses        1093     1093           
  Partials       520      520           
Impacted Files Coverage Δ
package/MDAnalysis/core/groups.py 97.51% <100.00%> (ø)
package/MDAnalysis/core/universe.py 97.26% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@orbeckst
Copy link
Member

@ianmkenney could you please look after this PR? Thanks!

Copy link
Member

@ianmkenney ianmkenney left a comment

Choose a reason for hiding this comment

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

Apart from minor formatting issues, this looks good! @AHMED-salah00 can you also update the CHANGELOG and add yourself the AUTHORS file if you haven't contributed before?

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

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

Thanks, this is a good start. I would like to see maybe one additional test to ensure the parameters are passing through fine, if possible.

@AHMED-salah00 AHMED-salah00 requested review from IAlibay and removed request for ianmkenney March 14, 2023 06:57
@AHMED-salah00 AHMED-salah00 requested review from IAlibay and ianmkenney and removed request for IAlibay March 15, 2023 13:48
Copy link
Member

@ianmkenney ianmkenney left a comment

Choose a reason for hiding this comment

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

Simple formatting change and use fixtures for testing different parameter sets.

Copy link
Member

@IAlibay IAlibay left a comment

Choose a reason for hiding this comment

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

Just a couple of extra review comments on top of the things @ianmkenney raised.

@AHMED-salah00 AHMED-salah00 requested a review from IAlibay March 18, 2023 07:21
Copy link
Member

@ianmkenney ianmkenney left a comment

Choose a reason for hiding this comment

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

I think this looks pretty good, just need to add a comment for the if statement. @IAlibay, any final thoughts?

Copy link
Member

@ianmkenney ianmkenney left a comment

Choose a reason for hiding this comment

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

LGTM. Can you resolve the merge conflicts with develop?

@ianmkenney ianmkenney merged commit 09b8b16 into MDAnalysis:develop Mar 23, 2023
@AHMED-salah00 AHMED-salah00 deleted the issue-#2395 branch March 23, 2023 16:46
@IAlibay IAlibay added the defect label Sep 21, 2023
@github-staff github-staff deleted a comment from AHMED-salah00 Oct 23, 2024
@github-staff github-staff deleted a comment from AHMED-salah00 Oct 23, 2024
@github-staff github-staff deleted a comment from AHMED-salah00 Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AtomGroup.guess_bonds misleading documentation, could pass in fudge_factor

4 participants