<html><body>
<p>1 new commit in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/02f769322a52/">https://bitbucket.org/yt_analysis/yt/commits/02f769322a52/</a> Changeset:   02f769322a52 Branch:      yt User:        atmyers Date:        2016-05-04 18:09:01+00:00 Summary:     Merged in ngoldbaum/yt (pull request #2156)</p>
<p>set the field type correctly for fields added as particle fields. Closes #1163 Affected #:  1 file</p>
<p>diff -r 21cedef7066b43a139336890244be2c47f5af0fa -r 02f769322a522e75ad581a23e907d4af0339a086 yt/fields/local_fields.py --- a/yt/fields/local_fields.py +++ b/yt/fields/local_fields.py @@ -25,7 +25,10 @@</p>
<pre>class LocalFieldInfoContainer(FieldInfoContainer):
    def add_field(self, name, function=None, **kwargs):
        if not isinstance(name, tuple):</pre>
<ul><li><p>name = ('gas', name)</p></li></ul>
<p>+            if kwargs.setdefault('particle_type', False): +                name = ('all', name) +            else: +                name = ('gas', name)</p>
<pre>override = kwargs.get("force_override", False)
# Handle the case where the field has already been added.
if not override and name in self:</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-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27AintJHQJFNvr0zvGzzYfVm5rZyUUFVdq5XzXYBY2xDJD89-2FEfZ2q1-2FtgFK-2B-2BcF94aVWwNFzvQWO3hW10MJMn0KE3Lsso8w3QCMCRTtFl9FM7qL8NYwHA-2BpT8hKbf0rOci66uBqibo44GU8QGZpS26Ru-2FQLrdDREmFK-2F-2B3tJUhZesSx9zjgV0TVuwWYVNtybCU-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>