예제 #1
0
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)
예제 #2
0
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)
예제 #3
0
 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)
예제 #4
0
 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)