[yt-svn] commit/yt-3.0: MatthewTurk: Fixing API change for projections.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Oct 9 07:37:10 PDT 2013


1 new commit in yt-3.0:

https://bitbucket.org/yt_analysis/yt-3.0/commits/cebc11653e4b/
Changeset:   cebc11653e4b
Branch:      yt-3.0
User:        MatthewTurk
Date:        2013-10-09 16:36:58
Summary:     Fixing API change for projections.
Affected #:  1 file

diff -r 856787aaefed7251485a4401c42c30e7bec52968 -r cebc11653e4ba141fa3972848917f65265058f6e yt/analysis_modules/sunyaev_zeldovich/projection.py
--- a/yt/analysis_modules/sunyaev_zeldovich/projection.py
+++ b/yt/analysis_modules/sunyaev_zeldovich/projection.py
@@ -128,7 +128,7 @@
             return vpar/clight
         add_field("BetaPar", function=_beta_par)    
 
-        proj = self.pf.h.proj(axis, "Density", source=source)
+        proj = self.pf.h.proj(axis, "Density", data_source=source)
         proj.set_field_parameter("axis", axis)
         frb = proj.to_frb(width, nx)
         dens = frb["Density"]

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