[Chimera-users] model panel: add/edit note
Elaine Meng
meng at cgl.ucsf.edu
Tue Aug 3 15:46:57 PDT 2010
----------
Elaine C. Meng, Ph.D.
UCSF Computer Graphics Lab (Chimera team) and Babbitt Lab
Department of Pharmaceutical Chemistry
University of California, San Francisco
Just a clarification that although the contents of the Note column now update correctly, it might still be necessary to use the "Configure..." button in Model Panel to show that column. If the notes were added before the Model Panel was started, however, the Note column will be there automatically.
Elaine
On Aug 2, 2010, at 5:02 PM, Eric Pettersen wrote:
> On Jul 31, 2010, at 9:29 AM, Elaine Meng wrote:
>
>> Hi Matt,
>> Although there isn't a *specific* command, the general attribute-setting command setattr can be used to assign the "note" attribute of molecule and molecular surface models. Other models also have this attribute, but currently the setattr command will only work for these two types of models (m and s in the following):
>>
>> setattr m note "my molecule" #0
>> setattr s note "this is the molecular surface" #0
>>
>> Another issue, somewhat of a bug, is that these commands do not trigger the Model Panel to update itself. Instead you have to use the commands before the Model Panel is shown. If you try to add or change a note via the setattr command after the Model Panel is shown, nothing will happen.
>
> The various problems noted in the above are addressed in the next daily build:
>
> 1) Setting the "note" attribute immediately updates the model panel.
>
> 2) "setattr M" will set the attribute in all models (as opposed to "setattr m" or "setattr s" for molecule and surface models respectively).
>
> --Eric
More information about the Chimera-users
mailing list