[Biopython-dev] [Bug 2480] Local BLAST fails: Spaces in Windows file-path values

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Fri Apr 4 23:14:28 EDT 2008


http://bugzilla.open-bio.org/show_bug.cgi?id=2480


mdehoon at ims.u-tokyo.ac.jp changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|blocker                     |normal




------- Comment #5 from mdehoon at ims.u-tokyo.ac.jp  2008-04-04 23:14 EST -------
In the line shown in the Python error message, it is trying

os.path.exists(your_path)

with your_path = "C:/Documents and Settings/patnaik/My
Documents/blast/bin/blastall.exe"

and doesn't find your_path if it includes the extra ".

Can you play a bit with

>>> import os
>>> os.path.exists(your_path)
>>> os.system(your_path)

to see which variation (if any) works for both? I mean with ", without ", maybe
trying '?


-- 
Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Biopython-dev mailing list