本文整理匯總了Python中vistrails.core.vistrail.controller.VistrailController.jobMonitor方法的典型用法代碼示例。如果您正苦於以下問題:Python VistrailController.jobMonitor方法的具體用法?Python VistrailController.jobMonitor怎麽用?Python VistrailController.jobMonitor使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類vistrails.core.vistrail.controller.VistrailController
的用法示例。
在下文中一共展示了VistrailController.jobMonitor方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。
示例1: copyBaseVistrailController
# 需要導入模塊: from vistrails.core.vistrail.controller import VistrailController [as 別名]
# 或者: from vistrails.core.vistrail.controller.VistrailController import jobMonitor [as 別名]
def copyBaseVistrailController(vt_controller):
vistrail = vt_controller.vistrail
newvt_controller = BaseVistrailController(vistrail, None)
current_log = vt_controller.log
newvt_controller.log = current_log
newvt_controller.jobMonitor = vt_controller.jobMonitor
# DAK: why does the base version copy the _mashups but the non-base
# version doesn't??
for m in vt_controller._mashups:
newvt_controller._mashups.append(copy.copy(m))
return newvt_controller