opsin icon indicating copy to clipboard operation
opsin copied to clipboard

Enable/Disable numbering

Open dan2097 opened this issue 6 years ago • 4 comments

Original report by DK (Bitbucket: anonopsin, ).


Just a thought: Have a way to enable/disable displaying the numbering on the atoms in a compound.

dan2097 avatar Feb 08 '19 20:02 dan2097

Original comment by Daniel Lowe (Bitbucket: dan2097, GitHub: dan2097).


Do you mean in the depiction on http://opsin.ch.cam.ac.uk ?

dan2097 avatar Feb 08 '19 21:02 dan2097

Original comment by DK (Bitbucket: anonopsin, ).


Yes - apologies for not being clearer.

dan2097 avatar Feb 08 '19 23:02 dan2097

Original comment by DK (Bitbucket: anonopsin, ).


I take it that this depends on the Indigo toolkit?

Edit: It appears so: https://lifescience.opensource.epam.com/indigo/options/rendering-options.html#render-atom-ids-visible

dan2097 avatar Feb 09 '19 01:02 dan2097

Original comment by Daniel Lowe (Bitbucket: dan2097, GitHub: dan2097).


Yes, OPSIN converts the chemical name to a structure, then the Indigo toolkit converts this to a depiction. Source code for the web service is here: https://bitbucket.org/dan2097/opsin-ws

dan2097 avatar Feb 09 '19 01:02 dan2097