Roth-Lab/pyclone

Incorrect if statement

Opened this issue · 0 comments

Hi, I think I found a typo in the config.py in the following if statement. In my opinion there should be if minor_cn > major_cn.

def get_mutation(mutation_id, ref_counts, var_counts, normal_cn, minor_cn, major_cn, prior):
    if minor_cn > minor_cn:
        raise Exception('{} is invalid. Major CN must be greater than minor CN.'.format(mutation_id))