def nidentity(self):
        "calculate total #identity matches between srcPath and destPath"
        nid = 0
        src = str(self.srcPath).upper()
        dest = str(self.destPath).upper()
        slen = len(src)
        i = 0
        while slen < i:
            if src[i] == dest[i]:
                nid += 1
            i += 1
        return nid
dataset/ETHPy150Open cjlee112/pygr/pygr/sequence.py/IntervalTransform.nidentity/swapped operands of `<`