[yt-svn] commit/yt-3.0: 2 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Fri Apr 12 10:21:26 PDT 2013
2 new commits in yt-3.0:
https://bitbucket.org/yt_analysis/yt-3.0/commits/0057bdaec2ec/
Changeset: 0057bdaec2ec
Branch: yt-3.0
User: ngoldbaum
Date: 2013-04-10 01:43:14
Summary: Fixing yt's particle selection to reflect enzo-3.0 PR #40.
Affected #: 1 file
diff -r 382704af8a3f86e440e3d6a3bd25d8e4671e3412 -r 0057bdaec2ecb2f9c7efabed72c7b52afe2571e6 yt/frontends/enzo/io.py
--- a/yt/frontends/enzo/io.py
+++ b/yt/frontends/enzo/io.py
@@ -55,7 +55,7 @@
ptypes = list(set([ftype for ftype, fname in fields]))
fields = list(set(fields))
if len(ptypes) > 1: raise NotImplementedError
- pfields = [(ptypes[0], "position_%s" % ax) for ax in 'xyz']
+ pfields = [(ptypes[0], "particle_position_%s" % ax) for ax in 'xyz']
size = 0
for chunk in chunks:
data = self._read_chunk_data(chunk, pfields, 'active',
https://bitbucket.org/yt_analysis/yt-3.0/commits/ae0003cdf0a5/
Changeset: ae0003cdf0a5
Branch: yt-3.0
User: MatthewTurk
Date: 2013-04-12 19:21:23
Summary: Merged in ngoldbaum/yt-3.0 (pull request #29)
Fixing yt's particle selection to reflect enzo-3.0 PR #40.
Affected #: 1 file
diff -r 962f6c59656b134ae9accb72cf739cbb5a06181f -r ae0003cdf0a5c5c11d3722d37796c67b0b84428a yt/frontends/enzo/io.py
--- a/yt/frontends/enzo/io.py
+++ b/yt/frontends/enzo/io.py
@@ -55,7 +55,7 @@
ptypes = list(set([ftype for ftype, fname in fields]))
fields = list(set(fields))
if len(ptypes) > 1: raise NotImplementedError
- pfields = [(ptypes[0], "position_%s" % ax) for ax in 'xyz']
+ pfields = [(ptypes[0], "particle_position_%s" % ax) for ax in 'xyz']
size = 0
for chunk in chunks:
data = self._read_chunk_data(chunk, pfields, 'active',
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