Hi,
I have a dictionary that has a bunch of values I want to assign to b-factors in
order to color by. In my script:
for residue in data:
cmd.alter(“resi
{}”.format(residue[‘resnum’]),”b={}”.format(residue[‘value’]))
This executes the alter command for each residue. For some reason, its taking
forever in my script. Is there something inherently inefficient about alter?
And is there anyway to fix it? Perhaps, assign a bunch of b-factors at once.
Jordan
------------------------------------------------------------------------------
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net