<div dir="ltr"><span style="color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif;font-size:14pt"> for i in range(block.GetNumberOfCells()</span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:14pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<div> sigma = numpy.array([ [xx[i],xy[i],xz[i]],</div>
<div> [xy[i],yy[i],yz[i]],</div>
<div> [xz[i],yz[i],zz[i]]</div>
<div> ])</div>
<div><br></div></div></blockquote><div><br></div><div>Missing a ":" here maybe?</div><div><br></div><div>Try some print debugging to see what is really happening.</div><div><br></div><div>Also, I recommend using an external editor and copy/pasting the code in or execfile("yourfile.py")'ing to develop for the programmable filter. It's QtTextWidget is a tad deficient as an IDE. :)</div>
<div><br></div><div>If not the ":" let us know and we can look further.</div>
<div><br></div><div> </div></div></div></div>