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

Issue #59/refactor sdtether #73

Conversation

lpardey
Copy link
Collaborator

@lpardey lpardey commented Feb 1, 2024

This PR:

  • Add original sdtether script migrated to Python3.
  • Refactors sdtether into multiple modules for typing and decoupling internal components.
  • Adds a common module (used by both sdrmsd and sdtether).
  • Refactors sdrmsd.
  • Adds test integration for both original and improved version of sdtether, and initial test for common module functionality.

closes #71, closes #59

@@ -14,10 +10,10 @@
Matrix3x3 = numpy.ndarray[Any, numpy.dtype[numpy.float64]]
SingularValueDecomposition = tuple[Matrix3x3, Vector3D, Matrix3x3]
Superpose3DResult = tuple[CoordsArray, float, Matrix3x3]
MatchIds = tuple[tuple[int, int], ...]
Copy link
Contributor

Choose a reason for hiding this comment

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

This name may be a bit misleading, as it is not related to the match ids from sdtether (?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

MappingIds perhaps?

Copy link
Contributor

Choose a reason for hiding this comment

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

AtomsMapping sounds fitting

Copy link
Contributor

Choose a reason for hiding this comment

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

test in peace, placeholder test

add show_mol_mathches_info feature
add skipped molecule logger info on process_molecule method
@ggutierrez-sunbright ggutierrez-sunbright merged commit 08a3b41 into CBDD:main Feb 1, 2024
10 checks passed
@ggutierrez-sunbright ggutierrez-sunbright self-assigned this Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rdock-utils
Projects
None yet
Development

Successfully merging this pull request may close these issues.

migrate sdtether migrate python scripts
2 participants