Hi everybody,

I can“t change the phi angle of proline using the function below. It works
for all other amino acids. If quiet = 0, it prints the value of the
variable "phi" (i.e. the value that the phi_angle should adopt). The phi
angle of proline is always around ~11.0

def set_phi(res_num, phi):
    if res_num != 0:
        cmd.set_dihedral('resi %s and name C' % (res_num-1), 'resi %s and
name N' % res_num, 'resi %s and name CA' % res_num, 'resi %s and name C' %
res_num, phi, state=1, quiet=1)


Thanks in advance.
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]

Reply via email to