Ejemplo n.º 1
0
def pbspro_evaluate(command):

  from libtbx.queuing_system_utils.processing import polling

  return polling.CentralPoller(
    command = process_command_line( command = command, default = [ "qstat" ] ),
    evaluate = polling.pbspro_text_evaluate,
    )
Ejemplo n.º 2
0
def condor_evaluate(command):

  from libtbx.queuing_system_utils.processing import polling

  return polling.CentralPoller(
    command = process_command_line(
      command = command,
      default = [ "condor_q", "-xml" ],
      ),
    evaluate = polling.condor_xml_evaluate,
    )