Open rulai-huajunzeng opened 8 years ago
Hi, I have a use case where pipeline names can be reused after the previous pipeline has finished, which is not possible currently. For example, the code below:
p1=Pipeline("my_pipeline") ... p1.run() p1=None p2=Pipeline("my_pipeline")
will generate an error msg: "Error: Duplicate pipeline. A pipeline named 'my_pipeline' already exists." Any suggestion how I can workaround it?
Ruffus keeps a dictionary of all pipelines that are defined. To delete a pipeline, try:
from ruffus import Pipeline ... del Pipeline.pipelines["my_pipeline"]
Hi, I have a use case where pipeline names can be reused after the previous pipeline has finished, which is not possible currently. For example, the code below:
will generate an error msg: "Error: Duplicate pipeline. A pipeline named 'my_pipeline' already exists." Any suggestion how I can workaround it?