cbouy / mols2grid

Interactive molecule viewer for 2D structures
https://mols2grid.readthedocs.io
Apache License 2.0
206 stars 25 forks source link

Callbacks cleanup #38

Closed cbouy closed 1 year ago

cbouy commented 1 year ago

Fixes #36

Adds atom labels on hover in the 3D callback.

codecov-commenter commented 1 year ago

Codecov Report

Merging #38 (af78ad8) into master (f42006e) will increase coverage by 0.03%. The diff coverage is 83.33%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #38 +/- ## ========================================== + Coverage 90.40% 90.43% +0.03% ========================================== Files 10 10 Lines 521 523 +2 ========================================== + Hits 471 473 +2 Misses 50 50 ``` [![Impacted file tree graph](https://codecov.io/gh/cbouy/mols2grid/pull/38/graphs/tree.svg?width=650&height=150&src=pr&token=QDI1XQSDUC&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset)](https://codecov.io/gh/cbouy/mols2grid/pull/38?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset) | [Impacted Files](https://codecov.io/gh/cbouy/mols2grid/pull/38?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset) | Coverage Δ | | |---|---|---| | [mols2grid/molgrid.py](https://codecov.io/gh/cbouy/mols2grid/pull/38/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset#diff-bW9sczJncmlkL21vbGdyaWQucHk=) | `92.98% <0.00%> (ø)` | | | [mols2grid/callbacks.py](https://codecov.io/gh/cbouy/mols2grid/pull/38/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=C%C3%A9dric+Bouysset#diff-bW9sczJncmlkL2NhbGxiYWNrcy5weQ==) | `95.45% <100.00%> (+0.45%)` | :arrow_up: |