osdir.com
mailing list archive

Subject: [Bug 2480] Local BLAST fails: Spaces in Windows file-path values - msg#00027

List: python.bio.devel

Date: Prev Next Index Thread: Prev Next Index
http://bugzilla.open-bio.org/show_bug.cgi?id=2480





------- Comment #2 from drpatnaik@xxxxxxxxx 2008-04-04 02:15 EST -------
(In reply to comment #1)

I do not see any error/warning notice in the command console.

The reason that I suspect something is wrong is that the Blast results output
file I get using the code below doesn't have any content (empty file):

[snip -- code same as that in previous post]
output_results = result_handle.read()
save_file = open(r"C:/Documents and Settings/patnaik/My
Documents/blast/bin/my_blast_output", "w")
save_file.write(output_results)
save_file.close()

To capture any error, I used the code I mention in my first post. And that is
where I find "'C:\Documents' is not recognized as an internal or external
command, operable program or batch file."


--
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.


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

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

http://bugzilla.open-bio.org/show_bug.cgi?id=2480 ------- Comment #1 from mdehoon@xxxxxxxxxxxxxxxxx 2008-04-03 20:27 EST ------- Could you paste here the exact error shown by Python? -- 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.

Next Message by Date: click to view message preview

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

http://bugzilla.open-bio.org/show_bug.cgi?id=2480 ------- Comment #3 from mdehoon@xxxxxxxxxxxxxxxxx 2008-04-04 04:37 EST ------- Please try my_blast_exe = r'"C:\Documents and Settings\patnaik\My Documents\blast\bin\blastall.exe"' (note the extra " in the command). If it works, an easy solution would be to add the " to Bio/Blast/NCBIStandalone.py before calling os.popen3. -- 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.

Previous Message by Thread: click to view message preview

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

http://bugzilla.open-bio.org/show_bug.cgi?id=2480 ------- Comment #1 from mdehoon@xxxxxxxxxxxxxxxxx 2008-04-03 20:27 EST ------- Could you paste here the exact error shown by Python? -- 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.

Next Message by Thread: click to view message preview

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

http://bugzilla.open-bio.org/show_bug.cgi?id=2480 ------- Comment #3 from mdehoon@xxxxxxxxxxxxxxxxx 2008-04-04 04:37 EST ------- Please try my_blast_exe = r'"C:\Documents and Settings\patnaik\My Documents\blast\bin\blastall.exe"' (note the extra " in the command). If it works, an easy solution would be to add the " to Bio/Blast/NCBIStandalone.py before calling os.popen3. -- 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.
Sign up for updates to this mailing list. email:
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by