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

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Wed Dec 16 10:45:53 PST 2015


2 new commits in yt:

https://bitbucket.org/yt_analysis/yt/commits/243695ba05a8/
Changeset:   243695ba05a8
Branch:      yt
User:        ngoldbaum
Date:        2015-12-09 20:11:19+00:00
Summary:     Use a smaller cosmology dataset in the gadget answer tests
Affected #:  1 file

diff -r 81762aa466f368a730c369e7841f7234a06579b2 -r 243695ba05a864bbb9fd4d2ccf5c3df973063c87 yt/frontends/gadget/tests/test_outputs.py
--- a/yt/frontends/gadget/tests/test_outputs.py
+++ b/yt/frontends/gadget/tests/test_outputs.py
@@ -25,7 +25,7 @@
 
 isothermal_h5 = "IsothermalCollapse/snap_505.hdf5"
 isothermal_bin = "IsothermalCollapse/snap_505"
-gdg = "GadgetDiskGalaxy/snapshot_200.hdf5"
+g64 = "gizmo_64/output/snap_N64L16_135.hdf5"
 
 # This maps from field names to weight field names to use for projections
 iso_fields = OrderedDict(
@@ -42,9 +42,9 @@
 )
 iso_kwargs = dict(bounding_box=[[-3, 3], [-3, 3], [-3, 3]])
 
-gdg_fields = iso_fields.copy()
-gdg_fields["deposit", "PartType4_density"] = None
-gdg_kwargs = dict(bounding_box=[[-1e5, 1e5], [-1e5, 1e5], [-1e5, 1e5]])
+g64_fields = iso_fields.copy()
+g64_fields["deposit", "PartType4_density"] = None
+g64_kwargs = dict(bounding_box=[[-1e5, 1e5], [-1e5, 1e5], [-1e5, 1e5]])
 
 
 @requires_file(isothermal_h5)
@@ -63,9 +63,9 @@
         test_iso_collapse.__name__ = test.description
         yield test
 
- at requires_ds(gdg, big_data=True)
-def test_gadget_disk_galaxy():
-    for test in sph_answer(gdg, 'snapshot_200', 11907080, gdg_fields,
-                           ds_kwargs=gdg_kwargs):
-        test_gadget_disk_galaxy.__name__ = test.description
+ at requires_ds(g64, big_data=True)
+def test_gizmo_64():
+    for test in sph_answer(g64, 'snap_N64L16_135', 524288, g64_fields,
+                           ds_kwargs=g64_kwargs):
+        test_gizmo_64.__name__ = test.description
         yield test


https://bitbucket.org/yt_analysis/yt/commits/4b7e76e3fa7a/
Changeset:   4b7e76e3fa7a
Branch:      yt
User:        jzuhone
Date:        2015-12-16 18:45:44+00:00
Summary:     Merged in ngoldbaum/yt (pull request #1900)

Use a smaller cosmology dataset in the gadget answer tests
Affected #:  1 file

diff -r a065f0f3bd81c1906c2d5cc389fbfa07878ca4b3 -r 4b7e76e3fa7ad2e9dfce103b7c0437b7f5358f4e yt/frontends/gadget/tests/test_outputs.py
--- a/yt/frontends/gadget/tests/test_outputs.py
+++ b/yt/frontends/gadget/tests/test_outputs.py
@@ -25,7 +25,7 @@
 
 isothermal_h5 = "IsothermalCollapse/snap_505.hdf5"
 isothermal_bin = "IsothermalCollapse/snap_505"
-gdg = "GadgetDiskGalaxy/snapshot_200.hdf5"
+g64 = "gizmo_64/output/snap_N64L16_135.hdf5"
 
 # This maps from field names to weight field names to use for projections
 iso_fields = OrderedDict(
@@ -42,9 +42,9 @@
 )
 iso_kwargs = dict(bounding_box=[[-3, 3], [-3, 3], [-3, 3]])
 
-gdg_fields = iso_fields.copy()
-gdg_fields["deposit", "PartType4_density"] = None
-gdg_kwargs = dict(bounding_box=[[-1e5, 1e5], [-1e5, 1e5], [-1e5, 1e5]])
+g64_fields = iso_fields.copy()
+g64_fields["deposit", "PartType4_density"] = None
+g64_kwargs = dict(bounding_box=[[-1e5, 1e5], [-1e5, 1e5], [-1e5, 1e5]])
 
 
 @requires_file(isothermal_h5)
@@ -63,9 +63,9 @@
         test_iso_collapse.__name__ = test.description
         yield test
 
- at requires_ds(gdg, big_data=True)
-def test_gadget_disk_galaxy():
-    for test in sph_answer(gdg, 'snapshot_200', 11907080, gdg_fields,
-                           ds_kwargs=gdg_kwargs):
-        test_gadget_disk_galaxy.__name__ = test.description
+ at requires_ds(g64, big_data=True)
+def test_gizmo_64():
+    for test in sph_answer(g64, 'snap_N64L16_135', 524288, g64_fields,
+                           ds_kwargs=g64_kwargs):
+        test_gizmo_64.__name__ = test.description
         yield test

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