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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Mon Nov 23 11:34:25 PST 2015


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/057c8b0cf063/
Changeset:   057c8b0cf063
Branch:      yt
User:        ngoldbaum
Date:        2015-11-23 19:34:18+00:00
Summary:     Merged in atmyers/yt (pull request #1882)

[bugfix] convert profile extrema to output_units instead of units, to be consistent with new behavior of array_like_field.
Affected #:  1 file

diff -r b016426aff23ebe57f71c4ba7385eeb6ab4aade3 -r 057c8b0cf0634b0d010426b23f7275ab84d67fe9 yt/data_objects/profiles.py
--- a/yt/data_objects/profiles.py
+++ b/yt/data_objects/profiles.py
@@ -914,7 +914,7 @@
     else:
         ex = []
         for bin_field in bin_fields:
-            bf_units = data_source.ds.field_info[bin_field].units
+            bf_units = data_source.ds.field_info[bin_field].output_units
             try:
                 field_ex = list(extrema[bin_field[-1]])
             except KeyError:

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