Hi Martin,
are you sure os.path.curdir points to your home? Why not use one of:
os.path.expanduser('~/pdbfiles')
os.path.expandvars('$HOME/pdbfiles')
Cheers,
Thomas
On 10 Jul 2014, at 06:42, Martin Hediger <[email protected]> wrote:
> Hi all
>
> I tried to adjust the 'fetch_path' property such that downloaded PDB
> files would be saved in
>
> os.path.abspath(os.path.join(os.path.curdir, "pdbfiles"))
>
> where 'curdir' is $HOME and 'pdbfiles' is within $HOME.
>
> However, I get 'fetch-error'.
>
> What am I doing wrong?
>
> Thanks for help.
--
Thomas Holder
PyMOL Developer
Schrödinger, Inc.
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
PyMOL-users mailing list ([email protected])
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/[email protected]