databio/pypiper

Documentation of the key method to implement to create a Pipeline type is wrong

Opened this issue · 1 comments

Pipeline.stages suggests a collection of names, rather than callables, Stage instances, or the like.

https://github.com/databio/pypiper/blob/master/pypiper/pipeline.py#L175-L179

It seems to need to be a collection of pairs of name and callable, or name and Stage (or a mapping from name to callable or stage): https://github.com/databio/pypiper/blob/master/pypiper/pipeline.py#L115-L122