Beispiel #1
0
 def _record_errors(self):
     BaseLayoutConverter._record_errors(self)
     if len(self.__invalid_flag) > 0:
         msg = 'The "sample position" flag must be a boolean. The values ' \
               'for some positions are invalid. Details: %s.' \
               % (', '.join(sorted(self.__invalid_flag)))
         self.add_error(msg)
Beispiel #2
0
 def _record_errors(self):
     BaseLayoutConverter._record_errors(self)
     if len(self.__invalid_flag) > 0:
         msg = (
             'The "sample position" flag must be a boolean. The values '
             "for some positions are invalid. Details: %s." % (", ".join(sorted(self.__invalid_flag)))
         )
         self.add_error(msg)
Beispiel #3
0
 def reset(self):
     BaseLayoutConverter.reset(self)
     self.__invalid_flag = []
Beispiel #4
0
 def __init__(self, rack_layout, parent=None):
     BaseLayoutConverter.__init__(self, rack_layout, parent=parent)
     # intermediate storage of invalid rack positions
     self.__invalid_flag = None
Beispiel #5
0
 def reset(self):
     BaseLayoutConverter.reset(self)
     self.__invalid_flag = []
Beispiel #6
0
 def __init__(self, rack_layout, parent=None):
     BaseLayoutConverter.__init__(self, rack_layout, parent=parent)
     # intermediate storage of invalid rack positions
     self.__invalid_flag = None