def METHOD_NAME(self):
    # read info_file to retreive dim, tagI, dimy
    f = open(self.info_file, "r")
    string = f.read()
    f.close()
    tmp = string.split("\n")
    if len(tmp) != 4:
        KeOps_Error("Incorrect info file")
    tmp_dim, tmp_tag, tmp_dimy = (
        tmp[1].split("="),
        tmp[2].split("="),
        tmp[3].split("="),
    )
    if (
        len(tmp_dim) != 2
        or tmp_dim[0] != "dim"
        or len(tmp_tag) != 2
        or tmp_tag[0] != "tagI"
        or len(tmp_dimy) != 2
        or tmp_dimy[0] != "dimy"
    ):
        KeOps_Error("Incorrect info file")
    self.dim = eval(tmp_dim[1])
    self.tagI = eval(tmp_tag[1])
    self.dimy = eval(tmp_dimy[1])