def METHOD_NAME(crystal):
    from sage.all_cmdline import CrystalOfLSPaths
    cartan, rank, weight = crystal.split("-")
    weight = weight.split(".")
    return CrystalOfLSPaths([str(cartan), int(rank)], [int(w) for w in weight])