mirror of
https://github.com/binghong-ml/retro_star.git
synced 2026-04-03 00:18:58 -06:00
I found a hidden problem #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @xiaoqiangsheng2016 on 5/31/2024
molstar.py line 52:
reactant_list = list(set(reactants[j].split('.')))
reactant_list is unorder and random list, for example: list(set([A, B])) , maybe get the result: [A, B] or [B, A], is random
if use reactant_list to calc st_score:
6afc720d29/utils.py (L421)the [A, B] and [B, A] get diffrent score.
so, if you want to remove the same reactants, i give a simply code:
reactant_list = []
[reactant_list.append(x) for x in reactants[j].split('.') if x not in reactant_list]