コード例 #1
0
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     if not isinstance(self.lab_iso_plate,
                       (IsoPlate, LibraryPlate, IsoJobPreparationPlate)):
         msg = 'The lab ISO plate must be an %s, %s or an %s ' \
               '(obtained: %s).' % (IsoPlate.__name__, LibraryPlate.__name__,
                 IsoJobPreparationPlate.__name__,
                 self.lab_iso_plate.__class__.__name__)
         self.add_error(msg)
     self._check_input_class('"for job" flag', self.for_job, bool)
コード例 #2
0
ファイル: processing.py プロジェクト: helixyte/TheLMA
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     if not isinstance(self.lab_iso_plate, (IsoPlate, LibraryPlate,
                                            IsoJobPreparationPlate)):
         msg = 'The lab ISO plate must be an %s, %s or an %s ' \
               '(obtained: %s).' % (IsoPlate.__name__, LibraryPlate.__name__,
                 IsoJobPreparationPlate.__name__,
                 self.lab_iso_plate.__class__.__name__)
         self.add_error(msg)
     self._check_input_class('"for job" flag', self.for_job, bool)
コード例 #3
0
ファイル: base.py プロジェクト: helixyte/TheLMA
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class("stock rack", self.stock_rack, StockRack)
コード例 #4
0
ファイル: base.py プロジェクト: papagr/TheLMA
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class('stock rack', self.stock_rack, StockRack)
コード例 #5
0
ファイル: base.py プロジェクト: papagr/TheLMA
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class('ISO request', self.iso_request, LabIsoRequest)
コード例 #6
0
ファイル: base.py プロジェクト: helixyte/TheLMA
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class('ISO request', self.iso_request, LabIsoRequest)