def _import_atom(self, toppar): if toppar.mass is not None: self.commands['atom'] = 'atom' self.atom = [ rw.mass_writer(prm) for prm in toppar.mass ]
def _import_mass(self, toppar): if toppar.mass is not None: self.mass = [ rw.mass_writer(mass) for mass in toppar.mass ]