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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Fri Apr 18 11:18:33 PDT 2014


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/2da0ef286690/
Changeset:   2da0ef286690
Branch:      yt-3.0
User:        MatthewTurk
Date:        2014-04-18 19:51:59
Summary:     We actually should be looking for velocity_unit not code_velocity.
Affected #:  1 file

diff -r 85aed0cda09466c9635c6539e36f8bd972ac0eaa -r 2da0ef286690225a9b72020a7a9fd90e0ae37884 yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -624,7 +624,7 @@
         self.unit_registry.modify("code_length", self.length_unit)
         self.unit_registry.modify("code_mass", self.mass_unit)
         self.unit_registry.modify("code_time", self.time_unit)
-        vel_unit = getattr(self, "code_velocity",
+        vel_unit = getattr(self, "velocity_unit",
                     self.length_unit / self.time_unit)
         self.unit_registry.modify("code_velocity", vel_unit)
         # domain_width does not yet exist


https://bitbucket.org/yt_analysis/yt/commits/ceff32eb3b9f/
Changeset:   ceff32eb3b9f
Branch:      yt-3.0
User:        samskillman
Date:        2014-04-18 20:18:27
Summary:     Merged in MatthewTurk/yt/yt-3.0 (pull request #839)

We actually should be looking for velocity_unit not code_velocity.
Affected #:  1 file

diff -r 4f3296e59a3259bb77bccea21fd718b88f5fef27 -r ceff32eb3b9ffea19fa635ae58e3b3fd1c01681e yt/data_objects/static_output.py
--- a/yt/data_objects/static_output.py
+++ b/yt/data_objects/static_output.py
@@ -624,7 +624,7 @@
         self.unit_registry.modify("code_length", self.length_unit)
         self.unit_registry.modify("code_mass", self.mass_unit)
         self.unit_registry.modify("code_time", self.time_unit)
-        vel_unit = getattr(self, "code_velocity",
+        vel_unit = getattr(self, "velocity_unit",
                     self.length_unit / self.time_unit)
         self.unit_registry.modify("code_velocity", vel_unit)
         # domain_width does not yet exist

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