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