<html><body>
<p>1 new commit in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/fbf09b0618e0/">https://bitbucket.org/yt_analysis/yt/commits/fbf09b0618e0/</a> Changeset: fbf09b0618e0 Branch: yt User: xarthisius Date: 2016-03-28 11:45:57+00:00 Summary: Merged in migueldvb/yt (pull request #2055)</p>
<p>GDF answer tests Affected #: 5 files</p>
<p>diff -r bba3843608189ecf29b8ad109ae02546bbd272af -r fbf09b0618e08deb4f675c82b61e816d8f17156a doc/source/reference/code_support.rst --- a/doc/source/reference/code_support.rst +++ b/doc/source/reference/code_support.rst @@ -36,7 +36,7 @@</p>
<pre>+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+
| Gasoline | Y | Y | Y | Y | Y [#f2]_ | Y | Y | Full |
+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+</pre>
<p>-| Grid Data Format (GDF)| Y | N/A | Y | Y | Y | Y | N | Full | +| Grid Data Format (GDF)| Y | N/A | Y | Y | Y | Y | Y | Full |</p>
<pre>+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+
| Maestro | Y [#f1]_ | N | Y | Y | Y | Y | N | Partial |
+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+</pre>
<p>@@ -48,7 +48,7 @@</p>
<pre>+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+
| OWLS/EAGLE | Y | Y | Y | Y | Y [#f2]_ | Y | Y | Full |
+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+</pre>
<p>-| Piernik | Y | N/A | Y | Y | Y | Y | N | Full | +| Piernik | Y | N/A | Y | Y | Y | Y | Y | Full |</p>
<pre>+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+
| Pluto | Y | N | Y | Y | Y | Y | Y | Partial |
+-----------------------+------------+-----------+------------+-------+----------+----------+------------+----------+</pre>
<p>diff -r bba3843608189ecf29b8ad109ae02546bbd272af -r fbf09b0618e08deb4f675c82b61e816d8f17156a tests/tests_2.7.yaml --- a/tests/tests_2.7.yaml +++ b/tests/tests_2.7.yaml @@ -20,6 +20,9 @@</p>
<pre> local_gadget_270:
- yt/frontends/gadget/tests/test_outputs.py
</pre>
<p>+ local_gdf_270: + – yt/frontends/gdf/tests/test_outputs.py +</p>
<pre>local_halos_270:
- yt/analysis_modules/halo_analysis/tests/test_halo_finders.py
- yt/analysis_modules/halo_finding/tests/test_rockstar.py</pre>
<p>diff -r bba3843608189ecf29b8ad109ae02546bbd272af -r fbf09b0618e08deb4f675c82b61e816d8f17156a yt/frontends/gdf/tests/test_outputs.py --- /dev/null +++ b/yt/frontends/gdf/tests/test_outputs.py @@ -0,0 +1,47 @@ +""" +GDF frontend tests + + + +""" + +#----------------------------------------------------------------------------- +# Copyright © 2016, yt Development Team. +# +# Distributed under the terms of the Modified BSD License. +# +# The full license is in the file COPYING.txt, distributed with this software. +#----------------------------------------------------------------------------- + +from yt.testing import \ + assert_equal, \ + requires_file, \ + units_override_check +from yt.utilities.answer_testing.framework import \ + requires_ds, \ + small_patch_amr, \ + data_dir_load +from yt.frontends.gdf.api import GDFDataset + +_fields = ("density", “velocity_x”) + +sedov = “sedov/sedov_tst_0004.h5” + +@requires_ds(sedov) +def test_sedov_tunnel(): + ds = data_dir_load(sedov) + yield assert_equal, str(ds), “sedov_tst_0004” + for test in small_patch_amr(ds, <em>fields): + test_sedov_tunnel.__name</em>_ = test.description + yield test + + +@requires_file(sedov) +def test_GDFDataset(): + assert isinstance(data_dir_load(sedov), GDFDataset) + + +@requires_file(sedov) +def test_units_override(): + for test in units_override_check(sedov): + yield test</p>
<p>Repository URL: <a href="https://bitbucket.org/yt_analysis/yt/">https://bitbucket.org/yt_analysis/yt/</a></p>
<p>—</p>
<p>This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.</p>
<img src="http://link.bitbucket.org/wf/open?upn=ll4ctv0L-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27DTPeZgpv7eJg1Mtdzj8YH04uPdeGPksWmkvurIUeZv9f9kjS2JjnKBE5DSZo9-2FSskx01ndU-2F-2FLQ1Wk4ApDtM70ZDDq8MAEGxFXT7-2BN1nh7Yu2j-2Bs9m8YzWf0iK-2F-2FWbf0kReurcwHpm0T3p0wxrJIFlZEEgCdtA-2F4MpO24ho3oFV-2BiDTZO3tkUzcJbfxz0l2sc-3D" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>