Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions renku/core/commands/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,9 @@ def execute_workflow(

delete_indirect_files_list(client.path)

if config:
config = _safe_read_yaml(config)

started_at_time = local_now()

execute(dag=dag, basedir=client.path, provider=provider, config=config)
Expand Down Expand Up @@ -523,9 +526,6 @@ def _nested_dict():
f'{",".join(rv.missing_parameters)}'
)

if config:
config = _safe_read_yaml(config)

graph = ExecutionGraph([workflow], virtual_links=True)
execute_workflow(dag=graph.workflow_graph, command_name="execute", provider=provider, config=config)

Expand Down Expand Up @@ -734,8 +734,6 @@ def _iterate_workflow(

from renku.core.models.tabulate import tabulate

TAG_SEPARATOR = "@"

if mapping_path is None and len(mappings) == 0:
raise errors.UsageError("No mapping has been given for the iteration!")

Expand Down