Open franciscohanna92 opened 4 years ago
I see that the comparison for the following works fine:
Hi @franciscohanna92, the test with the latest dist of Kekule.js gives a positive result:
Please try again with the latest files on GitHub, since in some old releases, there did exist a bug that causes wrong comparison result on molecules with explicit hydrogen atoms.
By the way, when doing molecule comparison, it is recommended to set doStandardize
option to true
. Otherwise the molecules may not be canonicalized before comparison, thus a wrong result may be invoked too.
Hi @partridgejiang , thanks for your answer. Indeed, the latest version of Kekule works fine. Sadly, we have a heavily modified version of it, for which its maintainers no longer work on the project.
I see that the point of failure (for the example above) in our Kekule version is this line https://github.com/partridgejiang/Kekule.js/blob/fa64625d6486c0aa752dadd10fedaa15310ce275/src/core/kekule.structures.js#L1208
Any clues on why this may be failing? I'm setting doStandardize: true
Hi @franciscohanna92, please check if /algorithm/kekule.structures.stereos.js has been modified in your version. If not, perhaps you could overwrite it with the file in this repository directly?
Hi there!
I'm trying to do some stereoisomers comparison, but I think Kekule is giving me a false negative. The two stereoisomers that I'm comparing are:
The options for compare are:
What am I doing wrong here? Is this something that Kekule supports out of the box?