def mols_to_file(mols, path):
    """Save molecules to the SDFile format file

    Args:
        mols: list of molecule objects
        path: file path to save
    """
    with open(path, 'w') as f:
        f.write(mols_to_text(mols))
def mols_to_file ( mols , path ) : with open ( path , 'w' ) as f : f . write ( mols_to_text ( mols ) )
Save molecules to the SDFile format file

    Args:
        mols: list of molecule objects
        path: file path to save