Skip to content

Commit

Permalink
workflow_from_pipeline(): name of a single process is ClassName_1 (po…
Browse files Browse the repository at this point in the history
  • Loading branch information
servoz committed Oct 4, 2023
1 parent 3cd611b commit a139c8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capsul/pipeline/pipeline_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1546,7 +1546,8 @@ def _is_transfer(d, transfer_paths):
# workflow.
new_pipeline = Pipeline()
new_pipeline.set_study_config(study_config)
new_pipeline.add_process('main', pipeline)
# "pipeline" is actually a single process, the name is ClassName_1
new_pipeline.add_process(pipeline.name.lower() + "_1", pipeline)
new_pipeline.autoexport_nodes_parameters(include_optional=True)
pipeline = new_pipeline
temp_pipeline = True
Expand Down

0 comments on commit a139c8a

Please sign in to comment.