[yt-svn] commit/yt-3.0: ngoldbaum: A couple more places that reference the now nonexistent ActiveParticles dataset.

Bitbucket commits-noreply at bitbucket.org
Wed Dec 12 15:30:21 PST 2012


1 new commit in yt-3.0:


https://bitbucket.org/yt_analysis/yt-3.0/changeset/6fb278bef80f/
changeset:   6fb278bef80f
branch:      yt-3.0
user:        ngoldbaum
date:        2012-12-13 00:30:14
summary:     A couple more places that reference the now nonexistent ActiveParticles dataset.
affected #:  1 file

diff -r 592c2836b37e934d3acac83fa1ecb944f972afbe -r 6fb278bef80f6f6e30f3e67ee00ee0a98556a6a6 yt/frontends/enzo/io.py
--- a/yt/frontends/enzo/io.py
+++ b/yt/frontends/enzo/io.py
@@ -59,7 +59,7 @@
         size = 0
         for chunk in chunks:
             data = self._read_chunk_data(chunk, pfields, 'active', 
-                        "/ActiveParticles/%s" % ptypes[0])
+                        "/Particles/%s" % ptypes[0])
             for g in chunk.objs:
                 if g.NumberOfActiveParticles == 0: continue
                 x, y, z = (data[g.id].pop(fn) for ft, fn in pfields)
@@ -73,7 +73,7 @@
         ind = 0
         for chunk in chunks:
             data = self._read_chunk_data(chunk, read_fields, 'active',
-                        "/ActiveParticles/%s" % ptypes[0])
+                        "/Particles/%s" % ptypes[0])
             for g in chunk.objs:
                 if g.NumberOfActiveParticles == 0: continue
                 x, y, z = (data[g.id][fn] for ft, fn in pfields)

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