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)
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)
def reset(self): BaseLayoutConverter.reset(self) self.__invalid_flag = []
def __init__(self, rack_layout, parent=None): BaseLayoutConverter.__init__(self, rack_layout, parent=parent) # intermediate storage of invalid rack positions self.__invalid_flag = None