<html><body>
<p>2 new commits in yt:</p>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/9b8eedf41989/">https://bitbucket.org/yt_analysis/yt/commits/9b8eedf41989/</a> Changeset: 9b8eedf41989 Branch: yt User: ngoldbaum Date: 2016-03-23 23:16:37+00:00 Summary: Only add fields to field_info.field_list if they aren't already added Affected #: 1 file</p>
<p>diff -r 66d8895f15b34d51b001a3618ff9c89f5bc765a9 -r 9b8eedf4198944004a41519bfb6d62542a7034ec yt/data_objects/static_output.py --- a/yt/data_objects/static_output.py +++ b/yt/data_objects/static_output.py @@ -523,7 +523,9 @@</p>
<pre>fields = [ (union.name, field) for field in fields]
new_fields = [_ for _ in fields if _ not in self.field_list]
self.field_list.extend(new_fields)</pre>
<ul><li><p>self.field_info.field_list.extend(new_fields)</p></li></ul>
<p>+ new_field_info_fields = [ + _ for _ in fields if _ not in self.field_info.field_list] + self.field_info.field_list.extend(new_field_info_fields)</p>
<pre>self.index.field_list = sorted(self.field_list)
# Give ourselves a chance to add them here, first, then...
# ...if we can't find them, we set them up as defaults.</pre>
<p><a href="https://bitbucket.org/yt_analysis/yt/commits/5a08905d2e43/">https://bitbucket.org/yt_analysis/yt/commits/5a08905d2e43/</a> Changeset: 5a08905d2e43 Branch: yt User: MatthewTurk Date: 2016-03-27 21:30:23+00:00 Summary: Merged in ngoldbaum/yt (pull request #2071)</p>
<p>Only add fields to field_info.field_list if they aren't already added Affected #: 1 file</p>
<p>diff -r 9fa87cf2500ac6560789c9a58f1f419bb12cbd7c -r 5a08905d2e438f08244ca4819d523f62dfc4e86d yt/data_objects/static_output.py --- a/yt/data_objects/static_output.py +++ b/yt/data_objects/static_output.py @@ -523,7 +523,9 @@</p>
<pre>fields = [ (union.name, field) for field in fields]
new_fields = [_ for _ in fields if _ not in self.field_list]
self.field_list.extend(new_fields)</pre>
<ul><li><p>self.field_info.field_list.extend(new_fields)</p></li></ul>
<p>+ new_field_info_fields = [ + _ for _ in fields if _ not in self.field_info.field_list] + self.field_info.field_list.extend(new_field_info_fields)</p>
<pre>self.index.field_list = sorted(self.field_list)
# Give ourselves a chance to add them here, first, then...
# ...if we can't find them, we set them up as defaults.</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-2ByeRZFC1LslHcg6aJmnQ70VruLbmeLQr27C3c6V5miWAicmmvhO5TfeebzcwVqZYpJe5m-2FBpWIYhmLNK2hr2ru3TiIAEXXRwi854YLPSorBvFzNz2I-2FaHPgThop-2B9ox1RV-2Frf7PNcHgnXa0GllDIPaFn-2BlUPV26Hwy3S0V0yFOsnpR-2FzevStexoyzvyF3NI9JMB8BbHwHdYivFVHJx17jcgOhrDE4R22c6E-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>