예제 #1
0
파일: iso.py 프로젝트: papagr/TheLMA
 def __eq__(self, other):
     if not MoleculeDesignPoolPosition.__eq__(self, other): return False
     if not self.is_empty and not self.iso_volume == other.iso_volume:
         return False
     if not (self.is_empty or self.is_mock) and \
             not self.iso_concentration == other.iso_concentration:
         return False
     return True
예제 #2
0
파일: iso.py 프로젝트: helixyte/TheLMA
 def __eq__(self, other):
     if not MoleculeDesignPoolPosition.__eq__(self, other): return False
     if not self.is_empty and not self.iso_volume == other.iso_volume:
         return False
     if not (self.is_empty or self.is_mock) and \
             not self.iso_concentration == other.iso_concentration:
         return False
     return True
예제 #3
0
파일: base.py 프로젝트: helixyte/TheLMA
 def __eq__(self, other):
     if not MoleculeDesignPoolPosition.__eq__(self, other):
         result = False
     else:
         result = self.stock_tube_barcodes == other.stock_tube_barcodes
     return result
예제 #4
0
파일: base.py 프로젝트: papagr/TheLMA
 def __eq__(self, other):
     if not MoleculeDesignPoolPosition.__eq__(self, other):
         result = False
     else:
         result = self.stock_tube_barcodes == other.stock_tube_barcodes
     return result