def dagify()

in DAGify.py [0:0]


def dagify(source_path, output_path, config_file, templates, dag_divider, report, tool):
    """Run dagify."""
    print("Run DAGify Engine")

    if tool == "controlm":
        ControlM(
            source_path=source_path,
            output_path=output_path,
            config_file=config_file,
            templates_path=templates,
            dag_divider=dag_divider,
        )
    elif tool == "automic":
        Automic(
            source_path=source_path,
            output_path=output_path,
            config_file=config_file,
            templates_path=templates,
            dag_divider=dag_divider,
    )
        
    if report:
        Report(
            source_path=source_path,
            output_path=output_path,
            config_file=config_file,
            templates_path=templates,
            dag_divider=dag_divider,
        )