def checkOverlap(a, b):
    '''check if a and b not overlap.'''
    aa = set(list(a))
    bb = set(list(b))

    if len(aa.intersection(bb)) != 0:
        raise ValueError(
            "option lists are not separate: shared=%s" %
            ",".join(aa.intersection(bb)))
    else:
        E.info("no overlap between option lists")
dataset/ETHPy150Open CGATOxford/cgat/refactor/cgat_refactor.py/checkOverlap/original