[Biopython] Problems with using Bio.PDB.NACCESS

Alaksh Choudhury Alaksh.Choudhury at colorado.edu
Mon Apr 6 20:16:08 UTC 2015


Hi,

I am having trouble using Bio.PDB.NACCESS.

The following is my code:
import Bio.PDB.NACCES as nac
data = nac.run_naccess(structure[0],"1BVU.pdb")

I get the following error:
WindowsError                              Traceback (most recent call last)
<ipython-input-54-1d30779fea29> in <module>()
----> 1 data = nac.run_naccess(structure[0],"1BVU.pdb")

C:\Users\user\AppData\Local\Enthought\Canopy\User\lib\site-packages\Bio\PDB\NACCESS.py
in run_naccess(model, pdb_file, probe_size, z_slice, naccess, temp_path)
     31
     32     # make temp directory;
---> 33     tmp_path = tempfile.mkdtemp(dir=temp_path)
     34
     35     # file name must end with '.pdb' to work with NACCESS

C:\Users\user\AppData\Local\Enthought\Canopy\App\appdata\canopy-1.5.1.2730.win-x86_64\lib\tempfile.pyc
in mkdtemp(suffix, prefix, dir)
    331         file = _os.path.join(dir, prefix + name + suffix)
    332         try:
--> 333             _os.mkdir(file, 0700)
    334             return file
    335         except OSError, e:

WindowsError: [Error 3] The system cannot find the path specified:
'/tmp/tmpdetkbw'

Regards,
Alaksh

-- 
Alaksh Choudhury
Graduate Student | Gill lab and Kaar lab
Department of Chemical Engineering
University of Colorado, Boulder
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython/attachments/20150406/c44680b1/attachment.html>


More information about the Biopython mailing list