def METHOD_NAME(self, nvt_pre_eq_job):
    name = 'npt'
    job = AMSNPTJob.restart_from(
        nvt_pre_eq_job,
        name=name,
        use_prerun=True,
        settings=self.settings,
        nsteps=self.nsteps[name],
        **self.kwargs,
    )
    #@add_to_instance(job)
    #def prerun(self):  # noqa F811
        #self.get_velocities_from(nvt_pre_eq_job, update_molecule=True)
    self.children[name] = job
    return self.children[name]