def run(args): phil = iotbx.phil.process_command_line(args=args, master_string=master_phil).show() work_params = phil.work.extract() from xfel.xpp.progress_utils import phil_validation phil_validation(work_params) if ("--help" in args) : libtbx.phil.parse(master_phil.show()) return from xfel.xpp.progress_utils import application application(work_params)
def run(self): while True: from xfel.xpp.progress_utils import application stats = application(self.parent.params, loop = False) evt = StatsEvent(myEVT_DB_STATS, -1, stats) wx.PostEvent(self.parent, evt) import time time.sleep(5)
def run(self): while True: from xfel.xpp.progress_utils import application stats = application(self.parent.params, loop=False) evt = StatsEvent(myEVT_DB_STATS, -1, stats) wx.PostEvent(self.parent, evt) import time time.sleep(5)