def prime_postrefine(self, inputfile): """ Run postrefinement from Prime on a cluster. Implements the prime API, and updates the SingleFrame objects with the attribute `miller_fullies`. :param cluster: a cluster object. :param inputfile: a Prime .inp file. """ from prime.api import refine_many miller_fullies = refine_many(self.members, inputfile) for mil, sf in zip(miller_fullies, self.members): sf.miller_fullies = mil