[yt-svn] commit/yt: 3 new changesets

Bitbucket commits-noreply at bitbucket.org
Wed Nov 7 13:58:03 PST 2012


3 new commits in yt:


https://bitbucket.org/yt_analysis/yt/changeset/fabc584792ca/
changeset:   fabc584792ca
branch:      yt
user:        brittonsmith
date:        2012-11-07 21:50:33
summary:     Fixing small bugs.
affected #:  2 files

diff -r e936dc471751440fb68c417a6bb97d56dc3fad8e -r fabc584792cae260e905755b7310d7fa27cc1777 yt/frontends/enzo/simulation_handling.py
--- a/yt/frontends/enzo/simulation_handling.py
+++ b/yt/frontends/enzo/simulation_handling.py
@@ -478,7 +478,7 @@
         self.parameters['TopGridRank'] = 3
         self.parameters['DomainLeftEdge'] = np.zeros(self.parameters['TopGridRank'])
         self.parameters['DomainRightEdge'] = np.ones(self.parameters['TopGridRank'])
-        self.parameters['Refineby'] = 2 # technically not the enzo default
+        self.parameters['RefineBy'] = 2 # technically not the enzo default
         self.parameters['StopCycle'] = 100000
         self.parameters['dtDataDump'] = 0.
         self.parameters['CycleSkipDataDump'] = 0.


diff -r e936dc471751440fb68c417a6bb97d56dc3fad8e -r fabc584792cae260e905755b7310d7fa27cc1777 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -156,7 +156,7 @@
     if os.path.exists(sim_fn) or not path:
         path = "."
     with temp_cwd(path):
-        return Simulation(sim_fn, sim_type = sim_type)
+        return simulation(sim_fn, sim_type)
 
 class AnswerTestingTest(object):
     reference_storage = None



https://bitbucket.org/yt_analysis/yt/changeset/a50c508eecf6/
changeset:   a50c508eecf6
branch:      yt
user:        brittonsmith
date:        2012-11-07 21:50:54
summary:     Merged.
affected #:  1 file

diff -r fabc584792cae260e905755b7310d7fa27cc1777 -r a50c508eecf615eee7045a2fbd8d341ef7fd12d6 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -144,7 +144,7 @@
 
 def data_dir_load(pf_fn):
     path = ytcfg.get("yt", "test_data_dir")
-    if isinstance(pf_fn, StaticOutput): return pf
+    if isinstance(pf_fn, StaticOutput): return pf_fn
     with temp_cwd(path):
         pf = load(pf_fn)
         pf.h



https://bitbucket.org/yt_analysis/yt/changeset/52d3a540a8cf/
changeset:   52d3a540a8cf
branch:      yt
user:        brittonsmith
date:        2012-11-07 22:58:00
summary:     Merged.
affected #:  1 file

diff -r a50c508eecf615eee7045a2fbd8d341ef7fd12d6 -r 52d3a540a8cf363189cd075d4cae16ab311bcec7 yt/utilities/answer_testing/framework.py
--- a/yt/utilities/answer_testing/framework.py
+++ b/yt/utilities/answer_testing/framework.py
@@ -76,6 +76,8 @@
         ytcfg["yt","__withintesting"] = "True"
         AnswerTestingTest.result_storage = \
             self.result_storage = defaultdict(dict)
+        if options.compare_name == "SKIP":
+            options.compare_name = None
         if options.compare_name is not None:
             # Now we grab from our S3 store
             if options.compare_name == "latest":

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