예제 #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)