def degenerate(self, position):
        weightRow = self.pwm[position]
        
        degenerateBases = ""
        
        for index in range(4):
            if 0.25 >= weightRow[index]:
                degenerateBases += pwMatrix.nucleotide_column[index]

        return ambiguous_nucleotide_code_codec[degenerateBases]
dataset/ETHPy150Open taoliu/taolib/Motif/core.py/pwMatrix.degenerate/swapped operands of `>=`