[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IMP-dev] how can you retrieve the atom index from AtomDecorator ?




On Feb 2, 2009, at 1:39 AM, Daniel Russel wrote:


On Feb 2, 2009, at 1:23 AM, Keren Lasker wrote:

I see your point, but when you write a pdb file after reading it - sometime you want to keep the same atom indexes for analysis - can it be an option when reading a pdb file to store the indexes as well ? ( like in modeller)
Easy enough to add although it might be good enough to ensure that the hierarchy is traversed for writing in the same order in which it is read from the file.

Then the numbers will be the same and you don't have the issue of what to do with invalid indexes.
This is true if you do not read two pdbs separately to the same model and ask for the indexes of the second one.



On Feb 2, 2009, at 1:21 AM, Daniel Russel wrote:

It is not currently stored since the atom indices are not meaningful and would have to be recomputed each time you add or remove an atom from the model.

On Feb 2, 2009, at 12:41 AM, Keren Lasker wrote:


_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev

_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev

_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev

_______________________________________________
IMP-dev mailing list

https://salilab.org/mailman/listinfo/imp-dev