<div dir="ltr"><p dir="ltr">Hi Markus,</p><p>In 3.0, all regions are now strict regions.  So you should be set with just .region.</p><p><br></p><p>-Matt</p>
<div class="gmail_quote">On Jul 15, 2014 7:39 AM, "Markus Haider" <<a href="mailto:markus.haider@uibk.ac.at" target="_blank">markus.haider@uibk.ac.at</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hi,<br>
<br>
As before, I am trying to get a script working in yt-3.0, and have the following problem:<br>
I use the following command<br>
<br>
In [6]: dregion = ff.h.region_strict(c_coords, c_coords-width/2.,c_coords+<u></u>width/2.)<br>
<br>
and get<br>
<br>
/home/markus/yt-x86_64/src/yt-<u></u>hg/yt/data_objects/static_<u></u>output.py in __getattr__(self, name)<br>
<br>
     94             pdb.set_trace()<br>
<br>
     95             return getattr(self.ds.index, name)<br>
<br>
---> 96         raise AttributeError<br>
<br>
     97<br>
<br>
     98 def requires_index(attr_name):<br>
<br>
<br>
AttributeError:<br>
<br>
what could be the problem? Also, what would be the best way to debug this? I tried inserting a print statement and a pdb.set_trace() at said line, but this does not affect the behaviour.<br>
<br>
Cheers,<br>
Markus<br>
<br>
<br>
______________________________<u></u>_________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org" target="_blank">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/<u></u>listinfo.cgi/yt-users-<u></u>spacepope.org</a><br>
</blockquote></div>
</div>