Hi Albert,
Unfortunately the default fetch type can't be configured. But you can override
the fetch command. Example which you could place in your ~/.pymolrc file:
python
from pymol import cmd
def fetchpdb(*args, **kwargs):
if 'type' not in kwargs:
kwargs['type'] = 'pdb'
return cmd.fetch(*args, **kwargs)
cmd.extend('fetch', fetchpdb)
python end
However, if you don't have a compelling reason to work with PDB instead of
mmCIF, then I recommend to give the new mmCIF default a try.
Cheers,
Thomas
On 19 Nov 2015, at 13:47, Albert <[email protected]> wrote:
> Hello:
>
> I noticed that if we run command:
>
> fetch 2ac1
>
> to get PDB into pymol in Version 1.8.0, it downloaded .cif file by
> default. I am just wondering is it possible to change the default format
> as .pdb file?
>
> thanks a lot
>
> Albert
--
Thomas Holder
PyMOL Principal Developer
Schrödinger, Inc.
------------------------------------------------------------------------------
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]