Thanks for the explanation.

On Wed, Feb 19, 2014 at 6:09 PM, John May <[email protected]> wrote:

> Sorry - was in a rush earlier. Just to clarify, the generators are
> separate and can not communicate (unless through a global property). The
> BondGeneraotr that draws the double bonds does know if the RingGenerator is
> present and so will always draw those in. Likewise, the RingGenerator can
> not undo this and also doesn't know if the BondGenerator is active. The
> prototype generator actually does all the generation at once to resolve
> problems like this but it's not very elegant.
>
> J
>
>
> On 19 Feb 2014, at 15:24, Rajarshi Guha <[email protected]> wrote:
>
> Got it, thanks
>
>
> On Wed, Feb 19, 2014 at 10:15 AM, John May <[email protected]> wrote:
>
>> Actually the opposite... kekulisation should always be on.
>>
>> You will get the same result if you parse, 'C1=CC=CC=C1' and the perceive
>> aromaticity.
>>
>> I think the issue is the RingGenerator and BondGenerator both draw the
>> parts. I would not use the ring generator.
>>
>> J
>>
>> On 19 Feb 2014, at 15:11, Rajarshi Guha <[email protected]> wrote:
>>
>> Another rendering question. If I parse c1ccccc1 using the SmilesParser
>> and then render it I get a ring along with individual kekulized bonds. if
>> on the other hand I call kekulize(false) before rendering I get the
>> expected display (just a ring and no extra bonds).
>>
>> Is this an issue with how I'm rendering? Or is the general policy to
>> always switch off kekulization?
>>
>> <image.png>
>>
>>
>> --
>> Rajarshi Guha | http://blog.rguha.net
>> NIH Center for Advancing Translational Science
>> ------------------------------------------------------------------------------
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk_______________________________________________
>> Cdk-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Managing the Performance of Cloud-Based Applications
>> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
>> Read the Whitepaper.
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Cdk-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/cdk-user
>>
>>
>
>
> --
> Rajarshi Guha | http://blog.rguha.net
> NIH Center for Advancing Translational Science
>
>
>
>
> ------------------------------------------------------------------------------
> Managing the Performance of Cloud-Based Applications
> Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
> Read the Whitepaper.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
> _______________________________________________
> Cdk-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cdk-user
>
>


-- 
Rajarshi Guha | http://blog.rguha.net
NIH Center for Advancing Translational Science
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Cdk-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cdk-user

Reply via email to