Hi Jordan, Yes, although I don't have the answer at hand, it has been given on the user list several times. You can find it in the archives.
Cheers, Tsjerk On Jun 16, 2015 08:16, "Jordan Willis" <[email protected]> wrote: > 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 ([email protected]) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/[email protected] >
------------------------------------------------------------------------------
_______________________________________________ PyMOL-users mailing list ([email protected]) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/[email protected]
