예제 #1
0
파일: base.py 프로젝트: papagr/TheLMA
 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)
예제 #2
0
파일: base.py 프로젝트: helixyte/TheLMA
 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)