Skip to content

Commit

Permalink
Don't store workflow_path when importing invocation
Browse files Browse the repository at this point in the history
It's a temporary path and probably doesn't make much sense in the
context of an imported invocation.
  • Loading branch information
mvdbeek committed Nov 27, 2024
1 parent 2d7667d commit f631f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/managers/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ def read_workflow_from_path(self, app, user, path, allow_in_directory=None) -> m
import_options = ImportOptions()
import_options.deduplicate_subworkflows = True
as_dict = python_to_workflow(as_dict, galaxy_interface, workflow_directory=None, import_options=import_options)
raw_description = RawWorkflowDescription(as_dict, path)
raw_description = RawWorkflowDescription(as_dict)
created_workflow = self.build_workflow_from_raw_description(trans, raw_description, WorkflowCreateOptions())
return created_workflow.workflow

Expand Down

0 comments on commit f631f62

Please sign in to comment.