code: def _check_consistency(self):
          '''see if the sections have obvious errors'''
          type_count = defaultdict(int)
          for _, section in sorted(self.sections.items()):
              type_count[section.section_type] += 1
  
          if type_count[POINT_TYPE.SOMA] != 1:
              L.info('Have %d somas, expected 1', type_count[POINT_TYPE.SOMA]f _check_consistency(self):
          '''see if the sections have obvious errors'''
          type_count = defaultdict(int)
          for _, section in sorted(self.sections.items()):
              type_count[section.section_type] += 1
  
          if type_count[POINT_TYPE.SOMA] != 1:
              L.info('Have %d somas, expected 1', type_count[POINT_TYPE.SOMA])
docs: see if the sections have obvious errors