def setup_output(self): self.woutp = WriteOutputMD() self.woutp.start(self) if self.restart: self.woutp.restart(self)