Skip to content

feat: add AnnotatedMolecule with sphere and bond annotations - #2

Merged
WolfgangWenzel merged 1 commit into
mainfrom
feat/annotated-molecule
Nov 24, 2026
Merged

WolfgangWenzel merged 1 commit into
mainfrom
feat/annotated-molecule

Conversation

@WolfgangWenzel

Copy link
Copy Markdown
Collaborator

Summary

  • Add AnnotatedMolecule as a molecule reference plus sphere and bond annotation lists.
  • Sphere annotations store a coordinate, radius, color, and transparency. Bond annotations store two points, a color, thickness, and transparency.
  • The model UI schema selects AnnotatedMoleculeField.

Test plan

  • pytest tests/molecule/test_annotated_molecule.py

Made with Cursor

Store a molecule reference plus the spheres and bonds the annotated viewer draws.

Co-authored-by: Cursor <cursoragent@cursor.com>
@WolfgangWenzel
WolfgangWenzel merged commit 06ddd2e into main Nov 24, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 0.7.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant