pKa/pKD_tools.py
def interpret_mutations(operations):
    """Combine a string of operations to a set of PEAT operations.
    This function detects whether we have a classic or a PEAT format
    and cleans the operations afterwards"""
    if operations.find(':')!=-1:
        pass
    else:
        operations=convert_classic_to_PEAT(operations)
    if not operations:
        return False
    return check_mutation_syntax(operations)
Combine a string of operations to a set of PEAT operations.
    This function detects whether we have a classic or a PEAT format
    and cleans the operations afterwards
Combine a string of operations to a set of PEAT operations.
This function detects whether we have a classic or a PEAT format
and cleans the operations afterwards
Combine a string of operations to a set of PEAT operations . This function detects whether we have a classic or a PEAT format and cleans the operations afterwards
def interpret_mutations(operations):
    if operations.find(':')!=-1:
        pass
    else:
        operations=convert_classic_to_PEAT(operations)
    if not operations:
        return False
    return check_mutation_syntax(operations)
def interpret_mutations ( operations ) : if operations . find ( ':' ) != - 1 : pass else : operations = convert_classic_to_PEAT ( operations ) if not operations : return False return check_mutation_syntax ( operations )
Combine a string of operations to a set of PEAT operations.
Combine a string of operations to a set of PEAT operations .
"""Combine a string of operations to a set of PEAT operations.
    This function detects whether we have a classic or a PEAT format
    and cleans the operations afterwards"""
operations