You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
new_mol=sanitize(new_mol) #We assume this is not None
@@ -118,7 +124,9 @@ def tree_decomp(mol):
118
124
cnei=nei_list[atom]
119
125
bonds= [cforcincneiiflen(cliques[c]) ==2]
120
126
rings= [cforcincneiiflen(cliques[c]) >4]
121
-
iflen(bonds) >2or (len(bonds) ==2andlen(cnei) >2): #In general, if len(cnei) >= 3, a singleton should be added, but 1 bond + 2 ring is currently not dealt with.
0 commit comments