<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Mungo,<div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>Yeah, the command language lacks any way to completely delete an attribute.  I <i class="">could</i> enhance ~setattr to also allow deletion, but before I do that work, can you describe why you need to completely delete the attribute rather than set its value to None?  Thanks.</div><div class=""><br class=""></div><div class="">—Eric</div><div class=""><br class=""><div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><span class="Apple-tab-span" style="white-space: pre;">    </span>Eric Pettersen</div><div class=""><span class="Apple-tab-span" style="white-space: pre;">  </span>UCSF Computer Graphics Lab</div><div class=""><br class=""></div></div>

</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On Mar 7, 2017, at 8:32 AM, Mungo Carstairs (Staff) <<a href="mailto:g.m.carstairs@dundee.ac.uk" class="">g.m.carstairs@dundee.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I would like to be able to set and remove residue attributes (using Chimera commands over the REST service).</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Setting is fine, but removing seems to be limited to changing the value to either an empty string or None.</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><a href="https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/setattr.html" class="OWAAutoLink">https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/setattr.html</a><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Is there any way to actually remove attributes after they have been set on residues?</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks,</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div style="margin-top: 0px; margin-bottom: 0px;" class="">Mungo</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><br class=""></div><div id="Signature" class=""><div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif;" class=""><span id="ms-rterangepaste-start" class=""></span><a href="" id="LPNoLP" style="font-family: Times;" class=""><img width="1" height="2" alt="Email signature" src="https://www.dundee.ac.uk/media/dundeewebsite/emailsignature/tiny.png" class=""></a><table border="0" cellpadding="0" cellspacing="0" style="font-family: Times; border-collapse: collapse; border-width: 0px;" class=""><tbody class=""><tr class=""><td colspan="4" height="10" class=""> </td></tr><tr class=""><td style="font-size: 10px; width: 73px !important; max-width: 73px !important;" class=""><a href="http://uod.ac.uk/sig-home" rel="nofollow" id="LPNoLP" class=""><img width="73" height="73" alt="University of Dundee shield logo" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/university-of-dundee-email-favicon.png" style="display: block;" class=""></a></td><td style="width: 12px;" class=""> </td><td class="uod-03" style="border-left-width: 1px; border-left-style: solid; border-left-color: rgb(67, 101, 226); width: 11px;"> </td><td width="430" class=""><div style="margin-top: 0px; margin-bottom: 0px; font-size: 13px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class=""><strong style="letter-spacing: 1.2px; font-size: 14px;" class="">Mungo Carstairs</strong><br class="">Jalview Computational Scientist</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 13px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class="">The Barton Group<br class="">Division of Computational Biology</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 13px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class="">School of Life Sciences</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 13px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class="">University of Dundee, Dundee, Scotland, UK</div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 13px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class=""><a href="http://www.jalview.org/" class="OWAAutoLink" id="LPNoLP">www.jalview.org</a></div><div style="margin-top: 0px; margin-bottom: 0px; font-size: 13px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class=""><a href="http://www.compbio.dundee.ac.uk/" class="OWAAutoLink" id="LPNoLP">www.compbio.dundee.ac.uk</a> <br class=""><a href="mailto:g.m.carstairs@dundee.ac.uk" id="LPNoLP" style="text-decoration: none; color: rgb(67, 101, 226);" class="">g.m.carstairs@dundee.ac.uk</a></div></td></tr><tr class=""><td colspan="4" height="10" class=""></td></tr><tr class=""><td colspan="4" class=""><span style="font-size: 12px; color: rgb(67, 101, 226); line-height: 20px; font-family: Calibri, sans-serif;" class=""><a href="http://uod.ac.uk/sig-fb" id="LPNoLP" class=""><img width="35" height="35" alt="University of Dundee Facebook" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-facebook.png" style="max-width: 32px; margin-right: 8px; height: auto !important;" class=""></a> <a href="http://uod.ac.uk/sig-tw" alt="University of Dundee Twitter" id="LPNoLP" class=""><img width="35" height="35" alt="University of Dundee Twitter" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-twitter.png" style="max-width: 32px; margin-right: 8px; height: auto !important;" class=""></a> <a href="http://uod.ac.uk/sig-li" id="LPNoLP" class=""><img width="35" height="35" alt="University of Dundee LinkedIn" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-linkedin.png" style="max-width: 32px; margin-right: 8px; height: auto !important;" class=""></a> <a href="http://uod.ac.uk/sig-yt" id="LPNoLP" class=""><img width="35" height="35" alt="University of Dundee YouTube" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-youtube.png" style="max-width: 32px; margin-right: 8px; height: auto !important;" class=""></a> <a href="http://uod.ac.uk/sig-ig" id="LPNoLP" class=""><img width="35" height="35" alt="University of Dundee Instagram" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-instagram.png" style="max-width: 32px; margin-right: 8px; height: auto !important;" class=""></a> <a href="http://uod.ac.uk/sig-sc" id="LPNoLP" class=""><img width="35" height="35" alt="University of Dundee Snapchat" src="https://www.dundee.ac.uk/media/dundeewebsite/themes/brandnewhope/img/baxter-blue-snapchat.png" style="max-width: 32px; margin-right: 8px; height: auto !important;" class=""></a> </span></td></tr><tr class=""><td colspan="4" class=""><span style="font-size: 11px; color: rgb(136, 136, 136); font-family: Calibri, sans-serif; line-height: 12px;" class=""><a href="http://uod.ac.uk/sig-strapline" id="LPNoLP" style="text-decoration: none; color: rgb(67, 101, 226);" class=""><strong class="">We're Scottish University of the Year again!</strong></a><br class="">The Times / Sunday Times Good University Guide 2016 and 2017</span></td></tr></tbody></table><span id="ms-rterangepaste-end" class=""></span></div></div></div><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-size: 10pt;" class="">The University of Dundee is a registered Scottish Charity, No: SC015096</span><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Chimera-users mailing list:<span class="Apple-converted-space"> </span></span><a href="mailto:Chimera-users@cgl.ucsf.edu" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">Chimera-users@cgl.ucsf.edu</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Manage subscription:<span class="Apple-converted-space"> </span></span><a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a></div></blockquote></div><br class=""></div></body></html>