[yt-svn] commit/yt: 2 new changesets

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Oct 10 03:24:20 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/b91187c366c6/
Changeset:   b91187c366c6
Branch:      yt
User:        xarthisius
Date:        2014-10-06 16:26:02+00:00
Summary:     Load field plugins before purging non-existing, derived fluid fields
Affected #:  1 file

diff -r 65fe85b6263082743e728c3ef6666addfa48897f -r b91187c366c628a3dfd66d632fdbf4079a982b6e yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -328,10 +328,10 @@
             mylog.debug("Creating Particle Union 'all'")
             pu = ParticleUnion("all", list(self.particle_types_raw))
             self.add_particle_union(pu)
+        mylog.info("Loading field plugins.")
+        self.field_info.load_all_plugins()
         deps, unloaded = self.field_info.check_derived_fields()
         self.field_dependencies.update(deps)
-        mylog.info("Loading field plugins.")
-        self.field_info.load_all_plugins()
 
     def setup_deprecated_fields(self):
         from yt.fields.field_aliases import _field_name_aliases


https://bitbucket.org/yt_analysis/yt/commits/6a9035454522/
Changeset:   6a9035454522
Branch:      yt
User:        MatthewTurk
Date:        2014-10-10 10:24:13+00:00
Summary:     Merged in xarthisius/yt (pull request #1241)

Load field plugins before purging non-existing, derived fluid fields. Fixes #916
Affected #:  1 file

diff -r 5ba254a71989d47a89c40e81c3cdefd710ee8341 -r 6a90354545227c4ce007caa2e3c697eb7a4f4b7d yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -328,10 +328,10 @@
             mylog.debug("Creating Particle Union 'all'")
             pu = ParticleUnion("all", list(self.particle_types_raw))
             self.add_particle_union(pu)
+        mylog.info("Loading field plugins.")
+        self.field_info.load_all_plugins()
         deps, unloaded = self.field_info.check_derived_fields()
         self.field_dependencies.update(deps)
-        mylog.info("Loading field plugins.")
-        self.field_info.load_all_plugins()
 
     def setup_deprecated_fields(self):
         from yt.fields.field_aliases import _field_name_aliases

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