[Yt-svn] commit/yt: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Mon Apr 25 09:40:33 PDT 2011
2 new changesets in yt:
http://bitbucket.org/yt_analysis/yt/changeset/8e23d3436a62/
changeset: r4201:8e23d3436a62
branch: yt
user: MatthewTurk
date: 2011-04-25 18:38:13
summary: Fixing an issue with Cooling_Time.
affected #: 1 file (60 bytes)
--- a/yt/frontends/enzo/fields.py Mon Apr 25 11:53:19 2011 -0400
+++ b/yt/frontends/enzo/fields.py Mon Apr 25 12:38:13 2011 -0400
@@ -118,10 +118,8 @@
validators=ValidateDataField("SN_Colour"),
projection_conversion="1")
-def _Cooling_Time(field, data):
- return data["Cooling_Time"]
add_field("Cooling_Time", units=r"\rm{s}",
- function=_Cooling_Time,
+ function=lambda a, b: None,
validators=ValidateDataField("Cooling_Time"),
projection_conversion="1")
http://bitbucket.org/yt_analysis/yt/changeset/829cd7366146/
changeset: r4202:829cd7366146
branch: stable
user: MatthewTurk
date: 2011-04-25 18:38:13
summary: Fixing an issue with Cooling_Time.
affected #: 1 file (60 bytes)
--- a/yt/frontends/enzo/fields.py Mon Apr 25 11:27:48 2011 -0400
+++ b/yt/frontends/enzo/fields.py Mon Apr 25 12:38:13 2011 -0400
@@ -118,10 +118,8 @@
validators=ValidateDataField("SN_Colour"),
projection_conversion="1")
-def _Cooling_Time(field, data):
- return data["Cooling_Time"]
add_field("Cooling_Time", units=r"\rm{s}",
- function=_Cooling_Time,
+ function=lambda a, b: None,
validators=ValidateDataField("Cooling_Time"),
projection_conversion="1")
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