cbouy / mols2grid

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

Add predefined JavaScript callbacks #37

Closed cbouy closed 1 year ago

cbouy commented 1 year ago

Adds

Changes

Fixes

codecov-commenter commented 1 year ago

Codecov Report

Merging #37 (404af9d) into master (e5eb839) will increase coverage by 0.15%. The diff coverage is 94.28%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #37 +/- ## ========================================== + Coverage 90.24% 90.40% +0.15% ========================================== Files 9 10 +1 Lines 492 521 +29 ========================================== + Hits 444 471 +27 - Misses 48 50 +2 ``` [![Impacted file tree graph](https://codecov.io/gh/cbouy/mols2grid/pull/37/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/37?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/37?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/utils.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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-bW9sczJncmlkL3V0aWxzLnB5) | `98.11% <ø> (-0.07%)` | :arrow_down: | | [mols2grid/molgrid.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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% <88.88%> (-0.14%)` | :arrow_down: | | [mols2grid/callbacks.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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.00% <95.00%> (ø)` | | | [mols2grid/\_\_init\_\_.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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-bW9sczJncmlkL19faW5pdF9fLnB5) | `91.66% <100.00%> (+0.75%)` | :arrow_up: | | [mols2grid/\_version.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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-bW9sczJncmlkL192ZXJzaW9uLnB5) | `100.00% <100.00%> (ø)` | | | [mols2grid/dispatch.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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-bW9sczJncmlkL2Rpc3BhdGNoLnB5) | `58.49% <100.00%> (+1.62%)` | :arrow_up: | | [mols2grid/widget/widget.py](https://codecov.io/gh/cbouy/mols2grid/pull/37/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-bW9sczJncmlkL3dpZGdldC93aWRnZXQucHk=) | `100.00% <100.00%> (ø)` | |