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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Aug 9 15:30:52 PDT 2017


4 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/b84392999333/
Changeset:   b84392999333
User:        ngoldbaum
Date:        2017-08-09 20:38:43+00:00
Summary:     fix issue with AHF answer tests. Fixes #1528.
Affected #:  1 file

diff -r c72d9bee3e75791d6882a9763119016b88c22ff8 -r b843929993334cdd6b333ebed877b18305cc3656 yt/frontends/ahf/tests/test_outputs.py
--- a/yt/frontends/ahf/tests/test_outputs.py
+++ b/yt/frontends/ahf/tests/test_outputs.py
@@ -38,7 +38,7 @@
     ds = load(ahf_halos)
     assert_equal(str(ds), os.path.basename(ahf_halos))
     for field in _fields:
-        yield FieldValuesTest(ahf_halos, field, particle_type=True)
+        yield FieldValuesTest(ds, field, particle_type=True)
 
 
 @requires_file(ahf_halos)


https://bitbucket.org/yt_analysis/yt/commits/05a9e57d241f/
Changeset:   05a9e57d241f
User:        ngoldbaum
Date:        2017-08-09 20:42:25+00:00
Summary:     turn off dataset caching as well
Affected #:  1 file

diff -r b843929993334cdd6b333ebed877b18305cc3656 -r 05a9e57d241fadc58fbcc96ad873b6250a045f9c yt/frontends/ahf/data_structures.py
--- a/yt/frontends/ahf/data_structures.py
+++ b/yt/frontends/ahf/data_structures.py
@@ -156,3 +156,7 @@
                     except:
                         pass
         return param
+
+    @property
+    def _skip_cache(self):
+        return True


https://bitbucket.org/yt_analysis/yt/commits/19cc3c667716/
Changeset:   19cc3c667716
User:        ngoldbaum
Date:        2017-08-09 21:36:01+00:00
Summary:     increment halos answer numbers
Affected #:  1 file

diff -r 05a9e57d241fadc58fbcc96ad873b6250a045f9c -r 19cc3c667716fbef26f4af8ce079d862e31196be tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -35,7 +35,7 @@
   local_gizmo_002:
     - yt/frontends/gizmo/tests/test_outputs.py
 
-  local_halos_003:
+  local_halos_004:
     - yt/analysis_modules/halo_analysis/tests/test_halo_finders.py  # [py2]
     - yt/analysis_modules/halo_finding/tests/test_rockstar.py  # [py2]
     - yt/frontends/ahf/tests/test_outputs.py


https://bitbucket.org/yt_analysis/yt/commits/fd7c30cddbb4/
Changeset:   fd7c30cddbb4
User:        ngoldbaum
Date:        2017-08-09 22:30:41+00:00
Summary:     Merge pull request #1532 from ngoldbaum/ahf-fix

fix issue with AHF answer tests. Fixes #1528.
Affected #:  3 files

diff -r 6f814a18e160e98a599b8aee8e9c780e41c7806e -r fd7c30cddbb4b9cd0b4be7f52d5b705bda6b17a0 tests/tests.yaml
--- a/tests/tests.yaml
+++ b/tests/tests.yaml
@@ -35,7 +35,7 @@
   local_gizmo_002:
     - yt/frontends/gizmo/tests/test_outputs.py
 
-  local_halos_003:
+  local_halos_004:
     - yt/analysis_modules/halo_analysis/tests/test_halo_finders.py  # [py2]
     - yt/analysis_modules/halo_finding/tests/test_rockstar.py  # [py2]
     - yt/frontends/ahf/tests/test_outputs.py

diff -r 6f814a18e160e98a599b8aee8e9c780e41c7806e -r fd7c30cddbb4b9cd0b4be7f52d5b705bda6b17a0 yt/frontends/ahf/data_structures.py
--- a/yt/frontends/ahf/data_structures.py
+++ b/yt/frontends/ahf/data_structures.py
@@ -156,3 +156,7 @@
                     except:
                         pass
         return param
+
+    @property
+    def _skip_cache(self):
+        return True

diff -r 6f814a18e160e98a599b8aee8e9c780e41c7806e -r fd7c30cddbb4b9cd0b4be7f52d5b705bda6b17a0 yt/frontends/ahf/tests/test_outputs.py
--- a/yt/frontends/ahf/tests/test_outputs.py
+++ b/yt/frontends/ahf/tests/test_outputs.py
@@ -38,7 +38,7 @@
     ds = load(ahf_halos)
     assert_equal(str(ds), os.path.basename(ahf_halos))
     for field in _fields:
-        yield FieldValuesTest(ahf_halos, field, particle_type=True)
+        yield FieldValuesTest(ds, field, particle_type=True)
 
 
 @requires_file(ahf_halos)

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