[yt-svn] commit/yt: MatthewTurk: Adding EOStype to Athena frontend.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Feb 5 13:08:34 PST 2014


1 new commit in yt:

https://bitbucket.org/yt_analysis/yt/commits/dd1ca9881d86/
Changeset:   dd1ca9881d86
Branch:      yt
User:        MatthewTurk
Date:        2014-02-05 21:04:57
Summary:     Adding EOStype to Athena frontend.
Affected #:  1 file

diff -r ae241d57d2f49527998ce5fc56271345fef038a8 -r dd1ca9881d8681917a2dc3cadcc48e33c4d1b8cc yt/frontends/athena/data_structures.py
--- a/yt/frontends/athena/data_structures.py
+++ b/yt/frontends/athena/data_structures.py
@@ -349,6 +349,8 @@
         if len(self.parameters) == 0:
             self._parse_parameter_file()
         self.conversion_factors = defaultdict(lambda: 1.0)    
+        if "EOSType" not in self.parameters:
+            self.parameters["EOSType"] = -1
         if self.specified_parameters.has_key("LengthUnits") :
             self._setup_getunits_units()
         else :

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