def yaml_to_workflow(has_yaml, galaxy_interface, workflow_directory):
 as_python = yaml.load(has_yaml)
 return python_to_workflow(as_python, galaxy_interface, workflow_directory)

def yaml_to_workflow ( has_yaml , galaxy_interface , workflow_directory ) : as_python = yaml . load ( has_yaml ) return python_to_workflow ( as_python , galaxy_interface , workflow_directory )
convert a format 2 workflow into standard galaxy format from supplied stream .