MolScribe icon indicating copy to clipboard operation
MolScribe copied to clipboard

我发现后处理的一个BUG

Open Waterdrop-One opened this issue 1 year ago • 1 comments

Thank you for your MolScribe model. It is very powerful and has high accuracy. However, during testing, I discovered a BUG in the post-processing. screenshot-20240118-102735 In this example, when (CH2)5 replaces the R group, two bonds are detected around the R group [chemistry.py line 434], resulting in line 435 get_smiles_from_symbol(symbol, mol_w, atom, bonds) return '(=C([H]))C([H])C([H])C([H])C([H])' Two single bonds were merged into one double bond, causing the mol conversion to fail. I'm trying to fix this bug but I don't have a clue yet.

Waterdrop-One avatar Jan 19 '24 10:01 Waterdrop-One