code: def _add_most_severe_consequence(self, variant_obj):
          
          most_severe_consequence = None
          most_severe_score = None
  
          for consequence in variant_obj.consequences:
              logger.debug("Checking severity score for consequence: {0}".format(
                  consequence))
              
              severity_score = SEVERITY_DICT.get(consequence)
              
              if severity_score != None:
                  if most_severe_score:
                      if severity_score < most_severe_score:
                          most_severe_consequence = consequence
                          most_severe_score = severity_score
                  else:
                      most_severe_consequence = consequence
                      most_severe_score = severity_score
  
          variant_obj.most_severe_consequence = most_severe_consequence
docs: Add the most severe consequence
          
          Args:
              variant_obj (puzzle.models.Variant)