You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using smiles-drawer and this error affected me. As far as I can tell, it was introduced in f3693b3, where the weights parameter was added, but in Drawer.js the corresponding call wasn't updated.
panda-byte
pushed a commit
to panda-byte/smilesDrawer
that referenced
this issue
Jun 15, 2023
…r.draw()`
Resolvesreymond-group#171. Although the `weights` parameter was added to
`SvgDrawer.draw()` in f3693b3, the method call in `Drawer.draw()` wasn't
updated correspondingly. `Drawer.draw()` could be amended to also take a
`weights` argument, which it would pass to `SvgDrawer.draw()`, but this might
break existing code even more and would require an update of the
documentation of the README.
Hello,
In Drawer.js there is line 47
this.svgDrawer.draw(data, svg, themeName, infoOnly, highlight_atoms);
where as In SvgDrawer.js line 31 expects a weights param:
draw(data, target, themeName = 'light', weights = null, infoOnly = false, highlight_atoms = [], weightsNormalized = false)
Can someone please check this on master branch? Seems like a bug to me. Thanks.
The text was updated successfully, but these errors were encountered: