[yt-svn] commit/yt-3.0: ngoldbaum: Active particles live in the Particles dataset now.

Bitbucket commits-noreply at bitbucket.org
Wed Dec 12 15:10:57 PST 2012


1 new commit in yt-3.0:


https://bitbucket.org/yt_analysis/yt-3.0/changeset/592c2836b37e/
changeset:   592c2836b37e
branch:      yt-3.0
user:        ngoldbaum
date:        2012-12-13 00:10:39
summary:     Active particles live in the Particles dataset now.
affected #:  1 file

diff -r 38e23c2fde10f2ec5f7e719ef95e21c70a5b1335 -r 592c2836b37e934d3acac83fa1ecb944f972afbe yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -394,7 +394,7 @@
             if last != g.filename:
                 if handle is not None: handle.close()
                 handle = h5py.File(g.filename)
-            node = handle["/Grid%08i/ActiveParticles/" % g.id]
+            node = handle["/Grid%08i/Particles/" % g.id]
             for ptype in (str(p) for p in node):
                 for field in (str(f) for f in node[ptype]):
                     _fields[ptype].append(field)

Repository URL: https://bitbucket.org/yt_analysis/yt-3.0/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.



More information about the yt-svn mailing list