Example #1
0
File: iso.py Project: 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
Example #2
0
 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
Example #3
0
 def __eq__(self, other):
     if not MoleculeDesignPoolPosition.__eq__(self, other):
         result = False
     else:
         result = self.stock_tube_barcodes == other.stock_tube_barcodes
     return result
Example #4
0
 def __eq__(self, other):
     if not MoleculeDesignPoolPosition.__eq__(self, other):
         result = False
     else:
         result = self.stock_tube_barcodes == other.stock_tube_barcodes
     return result