コード例 #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