[yt-svn] commit/yt: MatthewTurk: Merged in ngoldbaum/yt (pull request #1150)

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Tue Aug 19 06:23:40 PDT 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/6785a0afebb0/
Changeset:   6785a0afebb0
Branch:      yt
User:        MatthewTurk
Date:        2014-08-19 15:23:31
Summary:     Merged in ngoldbaum/yt (pull request #1150)

Check for a specific enzo-3.0 version number.  Closes #881
Affected #:  1 file

diff -r 2f242116a579754330a95c7200eaa4dd7360a7e3 -r 6785a0afebb0d7a03491d38c1a4b4f72c817cf9d yt/frontends/enzo/data_structures.py
--- a/yt/frontends/enzo/data_structures.py
+++ b/yt/frontends/enzo/data_structures.py
@@ -286,7 +286,7 @@
             active_particles = True
             nap = dict((ap_type, []) for ap_type in 
                 params["Physics"]["ActiveParticles"]["ActiveParticlesEnabled"])
-        elif version > 2.0:
+        elif version == 2.2:
             active_particles = True
             nap = {}
             for type in self.parameters.get("AppendActiveParticleType", []):

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

--

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