def _init(self, run_conf, run_number=None):
self.stop_run.clear()<EOL>self.abort_run.clear()<EOL>self._run_status = run_status.running<EOL>self._write_run_number(run_number)<EOL>self._init_run_conf(run_conf)<EOL>
Initialization before a new run.