FelixBaensch / MORTAR

MOlecule fRagmenTAtion fRamework
MIT License
18 stars 3 forks source link

Same keto group gets listed as two different fragments in items tab for first molecule in tutorial data set #2

Closed JonasSchaub closed 2 years ago

JonasSchaub commented 2 years ago

When I open MORTAR, import the tutorial data set, and fragment all molecules with the Ertl algorithm in default settings, I get this as the result in the items tab:

image

For the first molecule (CNP0287592, Anthraquinone), the equal keto groups are listed as two different fragments here. But only for this molecule.

If I fragment only this one molecule the same way or sort the molecules differently prior to fragmentation, I get the result as it should be:

image image

Reference commit: https://github.com/FelixBaensch/MORTAR/commit/0f3ea5be3ed0b83dbb2a7ce0da8b78f7613988e4

Kind regards

JonasSchaub commented 2 years ago

Fixed with https://github.com/FelixBaensch/MORTAR/commit/1bf14d7e5c9f0b2328309061f6c5217c9c217b25