Giter Site home page Giter Site logo

Lambda notation bug? about opsin HOT 5 CLOSED

dan2097 avatar dan2097 commented on August 29, 2024
Lambda notation bug?

from opsin.

Comments (5)

dan2097 avatar dan2097 commented on August 29, 2024

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


I don't think it's a bug. The nitrogen in morpholine is in its standard valency so you correctly don't need to employ the lambda convention. But this means the name can be written simply as:
1lambda6-thiomorpholine-1,1-dione

The different from the 1lambda6,2-benzothiazole-1,1-dione case is that benzothiazole contains a Hantzsch-Widman ring which should have the position of its heteroatoms given e.g. 1lambda6,2-benzothiazole-1,1-dione is different from 1lambda6,3-benzothiazole-1,1-dione. thiomorpholine on the other hand is a trivial name and always has the sulfur at position 1/ nitrogen at position 4. (you could argue it's semi-systematic and is a modification of the trivial name morpholine)

I will report this bug to ChemAxon ;-)

from opsin.

dan2097 avatar dan2097 commented on August 29, 2024

Original comment by pmortenson (Bitbucket: pmortenson, ).


Thanks, Dan, that sounds pretty clear cut. As you correctly surmised, we use ChemAxon to generate names, and then round trip them with OPSIN as a check. When the round trip doesn't work, I have to try to assign blame....

The 1,3 isomer is correctly named as a thiazinane, which OPSIN happily parses. So I'll kick this one over to Hungary!

All the best,
Paul

from opsin.

dan2097 avatar dan2097 commented on August 29, 2024

Original comment by Daniel Bonniot de Ruisselet (Bitbucket: [Daniel Bonniot](https://bitbucket.org/Daniel Bonniot), ).


Paul, Daniel,

I can confirm this was a bug in ChemAxon Structure-to-Name. The second locant (4) was printed by mistake as an unanticipated consequence of printing the lambda locant.

I fixed this in our trunk, so this will be released in our 6.2 version. The generated name is now as expected: 1λ⁶-thiomorpholine-1,1-dione

In my tests this improves the generated name in roughly 0.2% of the compounds in a large diverse set, which is nothing to sneeze at :) Thanks for discovering and reporting this issue.

Daniel Bonniot, ChemAxon

from opsin.

dan2097 avatar dan2097 commented on August 29, 2024

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


Daniel has resolved this issue :)

from opsin.

dan2097 avatar dan2097 commented on August 29, 2024

Original comment by pmortenson (Bitbucket: pmortenson, ).


Thanks to both for your efforts!

from opsin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.