def _check_consistency(self):
type_count = defaultdict(int)<EOL>for _, section in sorted(self.sections.items()):<EOL><INDENT>type_count[section.section_type] += <NUM_LIT:1><EOL><DEDENT>if type_count[POINT_TYPE.SOMA] != <NUM_LIT:1>:<EOL><INDENT>L.info('<STR_LIT>', type_count[POINT_TYPE.SOMA])<EOL><DEDENT>
see if the sections have obvious errors