[Chimera-users] 3D dashed pseudobond styles?
olibclarke at gmail.com
Fri Nov 6 13:29:57 PST 2015
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?
> On Nov 6, 2015, at 4:27 PM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
> 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!
> On Nov 6, 2015, at 1:21 PM, Oliver Clarke <olibclarke at gmail.com> wrote:
>> Many thanks Elaine - I did do as you suggested initially, but I was typing drawmode, rather than drawMode, and Chimera attributes are case sensitive.
>> 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.
>>> On Nov 6, 2015, at 4:09 PM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
>>> setattr p drawMode 1 sel
More information about the Chimera-users