[Yt-dev] EnzoFOF merger tree

Stephen Skory stephenskory at yahoo.com
Mon Jan 17 14:20:12 PST 2011


Hi Matt,

> I'd say go for it, but could you describe a bit more what's going on?
> Does your new code (pydot based) communicate directly with graphviz?
> Does it do this via named pipes, is it pure python, does it use a
> shared library, etc etc?

The code does not communicate directly with graphviz. It makes a temporary file on disk using tempfile.mkstemp(), and then calls the chosen executable (dot, neato, etc...) using subprocess to make the final image. It is pure python, and is self-contained in one file under a MIT license, so we can add it to yt with no problems, I think. Does that explain what you're curious about?



 Stephen Skory
stephenskory at yahoo.com
http://stephenskory.com/
510.621.3687 (google voice)



More information about the yt-dev mailing list