rxn.chemutils.multicomponent_smiles.multicomponent_smiles_to_list

rxn.chemutils.multicomponent_smiles.multicomponent_smiles_to_list(multicomponent_smiles, fragment_bond=None)[source]

Convert a string of molecules into a list of molecules (taking fragment bonds into account).

Parameters
  • multicomponent_smiles (str) – multicomponent SMILES string to convert to a list.

  • fragment_bond (Optional[str], default: None) – fragment bond.

Return type

List[str]

Returns

The list of molecule SMILES comprised in the multi-component SMILES string.