Friends,<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have written a script to draw lines between atoms (using distance monitor). I dnt want the distance label to be displayed with the pseudo bond. Kindly write me the way to remove the label. My script is below.<br>
<br>model=chimera.openModels.open('myavg.pdb') <br>
res=model[0].residues<br>MAT=loadtxt('mymatrix',dtype=float) <br>chimera.runCommand('focus')<br>for x in range(len(res)):<br> for y in range(len(res)):<br> if x <> y :<br> value=MAT[x,y]<br>
<br> if 0.5 < value > 0.75:<br> b=distanceMonitor.newPseudoBond(res[x].atomsMap['CA'][0],res[y].atomsMap['CA'][0])<br> b.drawMode=1<br> b.radius=0.05<br> <span style="color:rgb(255,102,102)">#b.label=None I tried keeping this value as None and empty string but it doesnt help.</span><br>
b.color=getColorByName('red')<br><br> else: pass<br><br> else: continue<br><br>
</blockquote></div><br>Thanks,<br>Bala<br clear="all"><br>-- <br>C. Balasubramanian<br><br>