Example #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)
Example #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)
Example #3
0
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class("stock rack", self.stock_rack, StockRack)
Example #4
0
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class('stock rack', self.stock_rack, StockRack)
Example #5
0
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class('ISO request', self.iso_request, LabIsoRequest)
Example #6
0
 def _check_input(self):
     BaseRackVerifier._check_input(self)
     self._check_input_class('ISO request', self.iso_request, LabIsoRequest)