VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Jun 18 2010 - 16:20:57 CDT
- Next message: Moeed: "structure file for big molecules"
- Previous message: Nuno Sousa Cerqueira: "Fwd: -samples flag of measure sasa"
- In reply to: Bob Johnson: "Deleting/modifying specific molecule representations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi Bob,
I'm still way behind on emails as I'm sure you can guess.
For some time I've wanted to change the way the graphical representations
are indexed so that they are given non-reusable unique ID numbers, in much
the same way that molecules are indexed as you point out below. This is
still on my TODO list along with a bunch of other things, but I may finally
get to it later this summer. I have to see what will break as a result of
the necessary changes before I commit to it.
Cheers,
John
On Tue, Jun 01, 2010 at 12:23:58PM -0400, Bob Johnson wrote:
> Is there a way to label or name specific representations and refer to
> them from a script? As far as I can tell each representation has an ID
> given by the order in which it was created. This makes it awkward to
> modify representations if the number of representations changes. For
> example, if you have 3 representations with IDs 0, 1, 2 and you delete
> the very first one, the IDs will be relabeled to 0 and 1. If you
> wanted to deleted all the representations but keep the 2nd one say,
> you would not be able to use the command:
> mol delrep 0 top
> mol delrep 2 top
>
> Is there any advice on how to work with these changing representation
> IDs? Or is there some way that static labels can be given to them?
> Thanks,
> Bob
>
> --
> Bob Johnson, PhD
> Institute for Computational Molecular Science
> Temple University
> 1900 North 12th Street
> Philadelphia, PA 19122
> http://astro.temple.edu/~rjohnson
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Moeed: "structure file for big molecules"
- Previous message: Nuno Sousa Cerqueira: "Fwd: -samples flag of measure sasa"
- In reply to: Bob Johnson: "Deleting/modifying specific molecule representations"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]