Commits

Andrew Dalke committed f138b02

Prevent an assertion failure from happening in RDKit.

Comments (0)

Files changed (1)

 # Convert a subgraph into an SD file
 def make_fragment_sdf(mcs, mol, subgraph, args):
     fragment = subgraph_to_fragment(mol, subgraph)
+    Chem.FastFindRings(fragment)
     _copy_sd_tags(mol, fragment)
 
     if args.save_atom_class_tag is not None: