Closed GoogleCodeExporter closed 9 years ago
The documentation is wrong and will be changed in the next version.
I am also adding a more informative error message.
1) You need to call pipeline_printout_graph not graph_printout
2) You need to make final_task a pipelined function.
See this minimal example:
#!/usr/bin/env python
#
# TypeError: "unbound method outward() ..." on call to "graph_printout"
#
from ruffus import *
def final_task():
print 'Final task.'
pipeline_printout_graph(
open("flowchart.svg", "w"),
"svg",
[final_task]
)
Original comment by bunbu...@gmail.com
on 11 Jun 2009 at 1:55
Original comment by bunbu...@gmail.com
on 15 Jun 2009 at 9:17
Original issue reported on code.google.com by
kaben.na...@gmail.com
on 9 Jun 2009 at 6:35