Пример #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())