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, )
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, )