<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;" class="">That would work.<div class=""><br class=""></div><div class="">Incidentally, here is a mockup of the kind of thing I’m thinking about with regards to the creation of labels for stereo pairs - the labels are not quite offset correctly and so forth but I think the idea could work, for example for labeling every nth C-alpha in a stereo trace of a new fold.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Oli</div><div class=""><br class=""></div><div class=""><img height="240" width="502" apple-width="yes" apple-height="yes" apple-inline="yes" id="3A2B0D00-227A-42A2-9AF2-D9A0465D39B9" src="cid:949EE147-9F83-434F-AFA0-ACE85DAE5C2C@cpmc.columbia.edu" class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 6, 2015, at 4:36 PM, Eric Pettersen <<a href="mailto:pett@cgl.ucsf.edu" class="">pett@cgl.ucsf.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">I’m thinking something like a “create” keyword that defaults to false. If “create” is false, then setting a non-existent attribute is an error…<br class=""><br class="">—Eric<br class=""><br class=""><blockquote type="cite" class="">On Nov 6, 2015, at 1:29 PM, Oliver Clarke <<a href="mailto:olibclarke@gmail.com" class="">olibclarke@gmail.com</a>> wrote:<br class=""><br class="">I see the point - maybe not an error then, but a warning, something like “this attribute is not in the list of pre-defined attributes” or similar, in red text below the command line as per other chimera warnings?<br class=""><br class="">Oliver<br class=""><blockquote type="cite" class="">On Nov 6, 2015, at 4:27 PM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">The rationale of silence was that you can use the command to create your own new attribute. But I’ve had the same thought occasionally. It depends what you’re trying to do!<br class="">Best<br class="">Elaine<br class=""><br class="">On Nov 6, 2015, at 1:21 PM, Oliver Clarke <<a href="mailto:olibclarke@gmail.com" class="">olibclarke@gmail.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">Many thanks Elaine - I did do as you suggested initially, but I was typing drawmode, rather than drawMode, and Chimera attributes are case sensitive. <br class=""><br class="">It would be helpful I think if Chimera threw an error or exception of some kind when a user tries to use setattr with a nonexistent attribute - as it is it seems to fail silently, and it is hard to figure out sometimes whether this is because the attribute does not exist, or the wrong scope was used , e.g. p vs a etc.<br class=""><br class="">Cheers,<br class="">Oliver.<br class=""><blockquote type="cite" class="">On Nov 6, 2015, at 4:09 PM, Elaine Meng <<a href="mailto:meng@cgl.ucsf.edu" class="">meng@cgl.ucsf.edu</a>> wrote:<br class=""><br class="">setattr p drawMode 1 sel<br class=""></blockquote></blockquote><br class=""></blockquote><br class=""><br class="">_______________________________________________<br class="">Chimera-users mailing list<br class=""><a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users<br class=""><br class=""></blockquote><br class=""></div></div></blockquote></div><br class=""></div></body></html>