<html><body>
<p>1 new commit in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/843a342ee510/">https://bitbucket.org/yt_analysis/yt/commits/843a342ee510/</a> Changeset: 843a342ee510 Branch: yt User: ngoldbaum Date: 2016-04-21 16:03:09+00:00 Summary: Merged in brittonsmith/yt (pull request #2126)</p>
<p>[BUGFIX] cannot call parallel_root_only function inside a parallel_root_only function Affected #: 1 file</p>
<p>diff -r 248ccc5ef8b46d83682344d249c8de1c964759ab -r 843a342ee5101c18f9acf8a490bdea39d4ee0fc2 yt/frontends/ytdata/data_structures.py --- a/yt/frontends/ytdata/data_structures.py +++ b/yt/frontends/ytdata/data_structures.py @@ -40,6 +40,8 @@</p>
<pre> ParticleFile
from yt.extern.six import \
string_types</pre>
<p>+from yt.funcs import \ + is_root</p>
<pre>from yt.geometry.grid_geometry_handler import \
GridIndex
from yt.geometry.particle_geometry_handler import \</pre>
<p>@@ -657,15 +659,15 @@</p>
<pre> self.domain_width = self.domain_right_edge - \
self.domain_left_edge
</pre>
<ul><li><p>@parallel_root_only def print_key_parameters(self):</p></li>
<li><p>mylog.info("YTProfileDataset")</p></li>
<li><p>for a in ["dimensionality", “profile_dimensions”] + \</p></li>
<li><p>["%s_%s" % (ax, attr)</p></li>
<li><p>for ax in "xyz"[:self.dimensionality]</p></li>
<li><p>for attr in ["field", “range”, "log"]]:</p></li>
<li><p>v = getattr(self, a)</p></li>
<li><p>mylog.info("Parameters: %-25s = %s", a, v)</p></li></ul>
<p>+ if is_root(): + mylog.info("YTProfileDataset") + for a in ["dimensionality", “profile_dimensions”] + \ + ["%s_%s" % (ax, attr) + for ax in “xyz"[:self.dimensionality] + for attr in ["field”, “range”, “log"]]: + v = getattr(self, a) + mylog.info("Parameters: %-25s = %s”, a, v)</p>
<pre> super(YTProfileDataset, self).print_key_parameters()
@classmethod</pre>
<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-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27D5mkpaZgfCgg-2BNYZ3zedaLqGGxZ5ofzIAXZcBePHutwL3ogagn-2B-2Bf5KK6ZaBlebFmVeNzNkyCQ7V8xfeqDh5fp7W0WIg9fM0o4ED8naJxq1lNA1m9Lp-2Be-2B7S0WXKiMK4a8Kre6DIWq6t-2BN62C7xnT5q-2FWN-2Br2qtFSamtukPzbtVbyaJdY81HcZ4s0JeNQ0ags-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>