def METHOD_NAME(self):
    s = self.settings.input
    if 'system' in s:
        if 'atoms' in s.system:
            del s.system.atoms
        if 'lattice' in s.system:
            del s.system.lattice