def METHOD_NAME():
    weight = request.args.get('weight', '')
    weight = weight.replace(',', '.')
    cartan_type = str(request.args.get('cartan_type', ''))
    rank = request.args.get('rank', '')
    logger.info("weight = %s" % weight)
    if not (cartan_type and rank and weight):
        return redirect(url_for('.index'))
    crystal_string = "-".join([cartan_type, rank, weight])
    return redirect(url_for('.show', crystal=crystal_string))