<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi Jim,</div><div><br></div><div>I've grabbed revision r5398 and re-installed pytaps. &nbsp;The error I was getting before (&quot;AttributeError: attribute 'adjTable' of 'itaps.iMesh.Mesh' objects is not writable&quot;) no longer occurs (which suggests that the re-install worked),&nbsp;I still seem to be unable to modify the values of the table. &nbsp;Am I doing something foolish?</div><div><br></div><div><div>In [1]: from itaps import iMesh</div><div>In [2]: mesh=iMesh.Mesh()</div><div>In [3]: mesh.adjTable</div><div>Out[3]:&nbsp;</div><div>array([[7, 4, 4, 1],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 7, 5, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 7, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 5, 7]], dtype=int32)</div><div>In [4]: mesh.adjTable[1,1]=1</div><div>In [5]: mesh.adjTable</div><div>Out[5]:&nbsp;</div><div>array([[7, 4, 4, 1],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 7, 5, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 7, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 5, 7]], dtype=int32)</div><div>In [6]: tbl=mesh.adjTable</div><div>In [7]: tbl[1,1]=1</div><div>In [8]: tbl</div><div>Out[8]:&nbsp;</div><div>array([[7, 4, 4, 1],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 1, 5, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 7, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 5, 7]], dtype=int32)</div><div>In [9]: mesh.adjTable=tbl</div><div>In [10]: mesh.adjTable</div><div>Out[10]:&nbsp;</div><div>array([[7, 4, 4, 1],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 7, 5, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 7, 5],</div><div>&nbsp; &nbsp; &nbsp; &nbsp;[1, 5, 5, 7]], dtype=int32)</div></div><div><br></div><div>Thanks,</div><div>Chris</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> James Porter &lt;<a href="mailto:jvporter@wisc.edu">jvporter@wisc.edu</a>&gt;<br><span style="font-weight:bold">Date: </span> Thu, 16 Feb 2012 14:29:38 -0500<br><span style="font-weight:bold">To: </span> Christopher Mueller &lt;<a href="mailto:cmueller@asascience.com">cmueller@asascience.com</a>&gt;<br><span style="font-weight:bold">Cc: </span> Iulian Grindeanu &lt;<a href="mailto:iulian@mcs.anl.gov">iulian@mcs.anl.gov</a>&gt;, Tim Tautges &lt;<a href="mailto:tautges@mcs.anl.gov">tautges@mcs.anl.gov</a>&gt;, &quot;<a href="mailto:moab-dev@mcs.anl.gov">moab-dev@mcs.anl.gov</a>&quot; &lt;<a href="mailto:moab-dev@mcs.anl.gov">moab-dev@mcs.anl.gov</a>&gt;, Guy De Wardener &lt;<a href="mailto:gdewardener@asascience.com">gdewardener@asascience.com</a>&gt;, David Stuebe &lt;<a href="mailto:DStuebe@asascience.com">DStuebe@asascience.com</a>&gt;, don brittain &lt;<a href="mailto:don.brittain@instanteffects.com">don.brittain@instanteffects.com</a>&gt;<br><span style="font-weight:bold">Subject: </span> Re: [MOAB-dev] Questions about Tags and Topology<br></div><div><br></div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div><div><div>On Thu, 2012-02-16 at 12:42 -0500, Christopher Mueller wrote:</div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div> Thank you for the very quick replies on this – the modification worked</div><div> perfectly!</div></blockquote><div><br></div><div>As of r5398, you can set the adjTable in PyTAPS.</div><div><br></div><div>- Jim</div><div><br></div><div><br></div><div><br></div></div></div></blockquote></span></body></html>