Hi Simon,
I think this is the code you're looking for:
from pymol import cmd, editor
cmd.set('retain_order', 0)
cmd.fab('APAPAPAP')
editor.attach_amino_acid("last name C", 'nme')
editor.attach_amino_acid("first name N", 'ace')
Hope that helps.
Cheers,
Thomas
> On Nov 17, 2017, at 8:26 AM, Si
Hi Davinder,
Usually such crashes are related to the graphics driver.
Does PyMOL 2.0 also crash on your machine?
https://pymol.org/2/#download
Thomas
> On Nov 14, 2017, at 11:44 PM, Dhalla, Davinder wrote:
>
> Hi,
>
> I am trying to launch Pymol version 1.8.7.0. on my CentOS 7 OS.
> Everytim
Hi Thomas,
Thanks for your help! But the NME and ACE are added unattached and randomly
in the pdb. I simplified with a dipeptide AA instead. The file is attached
here.
Regards,
Simon
2017-11-18 17:04 GMT+08:00 Thomas Holder :
> Hi Simon,
>
> I think this is the code you're looking for:
>
> from
Hi Simon,
My example works for me in PyMOL version 1.8.0 and later. Which version do you
use?
Thomas
> On Nov 18, 2017, at 3:59 PM, Simon Kit Sang Chu
> wrote:
>
> Hi Thomas,
>
> Thanks for your help! But the NME and ACE are added unattached and randomly
> in the pdb. I simplified with a d