Skip to content

How to getSmiles() in js with version 2.4.1? #1286

Answered by AndreiMazol
dboeglin asked this question in Q&A
Discussion options

You must be logged in to vote

Dear @dboeglin ,

in scope of release 2.4 API of Ketcher has been reworked, to get SMILES you need to use the following code:

ketcher.getSmiles().then((res) => console.log(res))

Regards,
Andrei

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MichelML
Comment options

Answer selected by dboeglin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #1285 on February 22, 2022 08:30.