def METHOD_NAME(self):
    """Keeps a list of the number of iterations that were in a file when a
    run was resumed from a checkpoint."""
    try:
        resume_pts = self.attrs["resume_points"].tolist()
    except KeyError:
        resume_pts = []
    try:
        niterations = self.niterations
    except KeyError:
        niterations = 0
    resume_pts.append(niterations)
    self.attrs["resume_points"] = resume_pts