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
def __eq__(self, other): if not MoleculeDesignPoolPosition.__eq__(self, other): result = False else: result = self.stock_tube_barcodes == other.stock_tube_barcodes return result