Re: [Yt-dev] EnzoFOF merger tree
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@yahoo.com http://stephenskory.com/ 510.621.3687 (google voice)
On Mon, Jan 17, 2011 at 5:20 PM, Stephen Skory <stephenskory@yahoo.com> wrote:
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?
Yup, that all sounds great!
Stephen Skory stephenskory@yahoo.com http://stephenskory.com/ 510.621.3687 (google voice) _______________________________________________ Yt-dev mailing list Yt-dev@lists.spacepope.org http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
participants (2)
-
Matthew Turk
-
Stephen Skory