rxn.chemutils.multicomponent_smiles.list_to_multicomponent_smiles
- rxn.chemutils.multicomponent_smiles.list_to_multicomponent_smiles(molecules, fragment_bond=None)[source]
Convert a list of molecules into a string representation (taking fragment bonds into account).
- Parameters
molecules (
Iterable
[str
]) – molecule SMILES strings to merge into a multi-component SMILES string.fragment_bond (
Optional
[str
], default:None
) – fragment bond.
- Return type
str
- Returns
A multi-component SMILES string.