

def workflow(self, graph):
    print()
    print('Tasks in workflow:')
    print()
    for task in graph.workflow:
        print('task:', task)
        print('\tinputs:')
        for nodeId in graph.graph.predecessors(task):
            print('\t\t', nodeId, graph.getArgumentAttribute(nodeId, task, 'longFormArgument'), graph.getGraphNodeAttribute(nodeId, 'values'))
        print('\toutputs:')
        for nodeId in graph.graph.successors(task):
            print('\t\t', nodeId, graph.getArgumentAttribute(task, nodeId, 'longFormArgument'), graph.getGraphNodeAttribute(nodeId, 'values'))

dataset/ETHPy150Open gkno/gkno_launcher/src/gkno/debug.py debug.workflow/original