Skip to content

Commit 17b5b5b

Browse files
committed
remove pipeline._pipeline_released
_pipeline_released produces regression in PipelineDeveloperView.release_pipeline()
1 parent 4b5993c commit 17b5b5b

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

capsul/pipeline/pipeline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ def __init__(self, autoexport_nodes_parameters=None, **kwargs):
226226

227227
# Class attributes
228228
# this one is only useful to maintain subprocesses/subpipelines life
229-
self._pipeline_released = False
230229
self.list_process_in_pipeline = []
231230
self.nodes_activation = Controller()
232231
self.nodes = SortedDictionary()

capsul/qt_gui/widgets/pipeline_developer_view.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2820,11 +2820,6 @@ def release_pipeline(self, delete=False):
28202820

28212821
if pipeline is not None:
28222822

2823-
if getattr(pipeline, '_pipeline_released', False):
2824-
return # pipeline already released
2825-
2826-
pipeline._pipeline_released = True
2827-
28282823
if hasattr(pipeline, 'pipeline_steps'):
28292824
pipeline.pipeline_steps.on_trait_change(
28302825
self._reset_pipeline, remove=True

0 commit comments

Comments
 (0)