PEATDB/DNAtool/primer_database.py
def primer_sort(self,primer1,primer2):
        """This function is for sorting primers"""
        
        p1=primer1.lower()
        p2=primer2.lower()
        if p1<p2:
            return -1
        elif p1>p2:
            return 1
        return 0
This function is for sorting primers
This function is for sorting primers
This function is for sorting primers
def primer_sort(self,primer1,primer2):
        p1=primer1.lower()
        p2=primer2.lower()
        if p1<p2:
            return -1
        elif p1>p2:
            return 1
        return 0
def primer_sort ( self , primer1 , primer2 ) : p1 = primer1 . lower ( ) p2 = primer2 . lower ( ) if p1 < p2 : return - 1 elif p1 > p2 : return 1 return 0
This function is for sorting primers
This function is for sorting primers
"""This function is for sorting primers"""
self
primer1
primer2