[yt-svn] commit/yt: MatthewTurk: Fixing slice_info kwarg name.
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Mar 24 12:10:43 PDT 2014
1 new commit in yt:
https://bitbucket.org/yt_analysis/yt/commits/21a57d1a44d2/
Changeset: 21a57d1a44d2
Branch: yt-3.0
User: MatthewTurk
Date: 2014-03-24 20:10:29
Summary: Fixing slice_info kwarg name.
Affected #: 1 file
diff -r bf4b8d5911ea438b461a0df59f17c2260262feb9 -r 21a57d1a44d2494dfe972e90280f5074e9f3da39 yt/analysis_modules/sunyaev_zeldovich/projection.py
--- a/yt/analysis_modules/sunyaev_zeldovich/projection.py
+++ b/yt/analysis_modules/sunyaev_zeldovich/projection.py
@@ -39,7 +39,7 @@
pass
vlist = "xyz"
-def setup_sunyaev_zeldovich_fields(registry, ftype, sl_info):
+def setup_sunyaev_zeldovich_fields(registry, ftype = "gas", slice_info = None):
def _t_squared(field, data):
return data["gas","density"]*data["gas","kT"]*data["gas","kT"]
registry.add_field(("gas", "t_squared"),
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