Currently trying to use a Python script to automate protein modelling in PyMol, but I cannot access PyMol commands through the Python script.
Any ideas on how to solve this?
I tried doing it as below, but not working. The error I get is "module 'cmd' has no attribute 'fab'"
from pymol import cmd
pymol.cmd.do("fab APAPAP")
pymol.cmd.save(example.pdb)
Regards Paul
To me works both :
or
opened in pymol :
fab command is in
editor.pyfile in pymol program:figured out that:
works, as long as the peptide is the first object you create in the pymol non GUI session