Re: [PyMOL] getting lists of resn, resi, and atom ID of a selection.

2007-09-19 Thread Tomoko Niwa
Dear Robert, Thank you very much for your kind help. I also tried cmd.iterate(), and found it works well; stored.resi = [] cmd.iterate(selection, stored.resi.append(resi)) Sincerely, Tomoko - Easy + Joy + Powerful =

Re: [PyMOL] getting lists of resn, resi, and atom ID of a selection.

2007-09-18 Thread Robert Campbell
Dear Tomoko, On Tue, 18 Sep 2007 21:40:34 +0900 (JST), Tomoko Niwa outp...@yahoo.co.jp wrote: Dear all I am a beginner in Python programming. I would like to get lists of resn (residue names), resi (residue identifiers) and atom ID of a selection. For example, in case of