Gilleain Torrance wrote:
Hi,
I don't see how you can get rid of this loop actually.
The thing that occurs to me is that you are loading structures, but
not deleting them!
So, at the other end of the "for i in KeepStruc" loop, you should
have a "cmd.delete(i)".
Other than that, you don'
Hi,
I don't see how you can get rid of this loop actually.
The thing that occurs to me is that you are loading structures, but
not deleting them!
So, at the other end of the "for i in KeepStruc" loop, you should
have a "cmd.delete(i)".
Other than that, you don't need to be opening the fi
Hi again, reading my post I found the bottleneckshame on me :)
here it is:
...
if (atomlig == "*"):
ligand = cmd.select("ligand","segi B and "+i)
atoms_lig = cmd.get_model('ligand')
for atomsL in atoms_lig.atom:
t = cmd.select("t","name "+at
Jules Jacobsen wrote:
Hi Andrea,
It depends on how you've written it It does sound more than a
little slow if you are just selecting a single residue. I had a script
which ended up looping through several sets of atoms which took ages
for larger models. I finally got fed-up with this and
Hi all,
is it normal that a script in pymol runs very very slow. In my case I am
just selecting a residue of a protein and calculating the distance from
the ligand atoms. I am doing this in a loop over 100 molecule. It took
ca. 6 hours...!
My memory is 50% free (1Gb total). I am using this scri