<div>Hi Stephen,</div><div><br></div>The error in the streamlines you show there shouldn't have anything to do with contours.  I'd suggest marking it as good in the bisect process and continuing.  That import was fixed in the next commit, I think.<div>

<br></div><div>Sam<br><br><div class="gmail_quote">On Tue, Mar 1, 2011 at 12:19 PM, Stephen Skory <span dir="ltr"><<a href="mailto:stephenskory@yahoo.com">stephenskory@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi All,<br>
<br>
using a script like this <<a href="http://paste.enzotools.org/show/1519/" target="_blank">http://paste.enzotools.org/show/1519/</a>> I am getting this error below with 3782:f9c66b2cacfc.<br>
<br>
  File "/duanestorage/home/faculty/stsk4691/plot_clumps.py", line 26, in <module><br>
    find_clumps(master_clump, c_min, c_max, step)<br>
  File "/duanestorage/home/faculty/stsk4691/yt/src/yt-hg/yt/analysis_modules/level_sets/clump_handling.py", line 170, in find_clumps<br>
    clump.find_children(min_val)<br>
  File "/duanestorage/home/faculty/stsk4691/yt/src/yt-hg/yt/analysis_modules/level_sets/clump_handling.py", line 117, in find_children<br>
    self.cached_fields)<br>
  File "/duanestorage/home/faculty/stsk4691/yt/src/yt-hg/yt/analysis_modules/level_sets/contour_finder.py", line 303, in identify_contours<br>
    boundary_tree = amr_utils.construct_boundary_relationships(fd)<br>
  File "ContourFinding.pyx", line 92, in yt.utilities.amr_utils.construct_boundary_relationships (yt/utilities/amr_utils.c:26719)<br>
IndexError: Out of bounds on buffer access (axis 0)<br>
<br>
<br>
However, I do not get the bug with 3746:1b81f9d8847c, so I ran "hg bisect" in that range. However, part of the way through the bisect process a new bug was introduced:<br>
<br>
<br>
<br>
  File "/duanestorage/home/faculty/stsk4691/yt/lib/python2.6/site-packages/yt-2.1dev-py2.6-linux-x86_64.egg/yt/visualization/api.py", line 59, in <module><br>
    from streamlines import \<br>
ImportError: cannot import name StreamLines<br>
<br>
<br>
which polluted the bisect process, I think. The revision that bisect identified as being bad is this one:<br>
<br>
<br>
<br>
The first bad revision is:<br>
changeset:   3766:20a49bc35fbd<br>
branch:      yt<br>
parent:      3763:badcec4be5c9<br>
user:        Sam Skillman <<a href="mailto:sam.skillman@gmail.com">sam.skillman@gmail.com</a>><br>
date:        Thu Feb 24 19:18:17 2011 -0700<br>
summary:     Adding an initial go at streamlines.  It uses the amr kD-tree to<br>
<br>
But like I said, this might not be the culprit. Can anyone think of what they might have done to clump finding (contour_finder.py) in that revision range that could make this first bug above? Thanks!<br>
<font color="#888888"><br>
<br>
<br>
Stephen Skory<br>
<a href="mailto:stephenskory@yahoo.com">stephenskory@yahoo.com</a><br>
<a href="http://stephenskory.com/" target="_blank">http://stephenskory.com/</a><br>
510.621.3687 (google voice)<br>
_______________________________________________<br>
Yt-dev mailing list<br>
<a href="mailto:Yt-dev@lists.spacepope.org">Yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</font></blockquote></div><br></div>