(mol, r)
Helper function for joblib jobs
Helper function for joblib jobs
Helper function for joblib jobs
def _parallel_job(mol, r):
    """Helper function for joblib jobs
    """
    if mol is not None:
        smiles = Chem.MolToSmiles(mol)
        mol = Chem.MolFromSmiles(smiles)
        sentence = mol2alt_sentence(mol, r)
        return " ".join(sentence)
def _parallel_job ( mol , r ) : if mol is not None : smiles = Chem . MolToSmiles ( mol ) mol = Chem . MolFromSmiles ( smiles ) sentence = mol2alt_sentence ( mol , r ) return " " . join ( sentence )