[Chimera-users] Can you delete a residue attribute?

Eric Pettersen pett at cgl.ucsf.edu
Tue Mar 7 10:19:06 PST 2017

Hi Mungo,
	Yeah, the command language lacks any way to completely delete an attribute.  I could 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.


	Eric Pettersen
	UCSF Computer Graphics Lab

> On Mar 7, 2017, at 8:32 AM, Mungo Carstairs (Staff) <g.m.carstairs at dundee.ac.uk> wrote:
> Hi,
> I would like to be able to set and remove residue attributes (using Chimera commands over the REST service).
> Setting is fine, but removing seems to be limited to changing the value to either an empty string or None.
> https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/setattr.html <https://www.cgl.ucsf.edu/chimera/current/docs/UsersGuide/midas/setattr.html>
> Is there any way to actually remove attributes after they have been set on residues?
> Thanks,
> Mungo
>  <applewebdata://EDC4FCAF-AF13-487D-81F7-1D3F3D686D23>
>  <http://uod.ac.uk/sig-home>	 	 	
> Mungo Carstairs
> Jalview Computational Scientist
> The Barton Group
> Division of Computational Biology
> School of Life Sciences
> University of Dundee, Dundee, Scotland, UK
> www.jalview.org <http://www.jalview.org/>
> www.compbio.dundee.ac.uk <http://www.compbio.dundee.ac.uk/> 
> g.m.carstairs at dundee.ac.uk <mailto:g.m.carstairs at dundee.ac.uk>
>  <http://uod.ac.uk/sig-fb>  <http://uod.ac.uk/sig-tw>  <http://uod.ac.uk/sig-li>  <http://uod.ac.uk/sig-yt>  <http://uod.ac.uk/sig-ig>  <http://uod.ac.uk/sig-sc> 
> We're Scottish University of the Year again! <http://uod.ac.uk/sig-strapline>
> The Times / Sunday Times Good University Guide 2016 and 2017
> The University of Dundee is a registered Scottish Charity, No: SC015096_______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20170307/6a74c641/attachment.html>

More information about the Chimera-users mailing list