Skip to content

Commit

Permalink
use write_png when using pydot
Browse files Browse the repository at this point in the history
  • Loading branch information
tanghaibao committed Mar 11, 2015
1 parent ec5e110 commit f7dedfa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Tools for Gene Ontology
Jeff Yunes (`yunesj <http://github.com/yunesj>`_),
Kenta Sato (`bicycle1885 <http://github.com/bicycle1885>`_),
Chris Mungall (`cmungall <https://github.com/cmungall>`_),
Greg Stupp (`stuppie <https://github.com/stuppie>`_)
Greg Stupp (`stuppie <https://github.com/stuppie>`_),
Debra Klopfenstein
:Email: tanghaibao@gmail.com
:License: BSD

Expand Down
2 changes: 1 addition & 1 deletion goatools/obo_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ def draw_lineage(self, recs, nodecolor="mediumseagreen",
if engine == "pygraphviz":
G.draw(lineage_img, prog="dot")
else:
G.draw(lineage_img)
G.write_png(lineage_img)

def update_association(self, association):
bad_terms = set()
Expand Down

0 comments on commit f7dedfa

Please sign in to comment.