示例#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