예제 #1
0
def todot(file, args):
    """
    Create a graphviz dot file from an orca workflow.
    """
    try:
        config = OrcaConfig.create(file, args)
        printer = DotfileHandler()
        printer.handle(config)
    except OrcaError as e:
        log.error(e)
예제 #2
0
 def test_print_switch_task(self):
     run_handler('switch.yaml', DotfileHandler())
예제 #3
0
 def test_print_par_task(self):
     run_handler('par.yaml', DotfileHandler())
예제 #4
0
 def test_print_for_task(self):
     run_handler('for_with_variable.yaml', DotfileHandler())