diff mkpthwpng.py @ 23:66a183c44dd5

bugfix for Pathway Image tool
author Richard Burhans <burhans@bx.psu.edu>
date Wed, 22 May 2013 15:58:18 -0400
parents 2c498d40ecde
children
line wrap: on
line diff
--- a/mkpthwpng.py	Mon Mar 11 11:28:06 2013 -0400
+++ b/mkpthwpng.py	Wed May 22 15:58:18 2013 -0400
@@ -30,7 +30,7 @@
 	forms = mechanize.ParseResponse(response, backwards_compat=False)
 	form=forms[0]
 	form["unclassified"]=inpx
-	form["org_name"]=[sppPrefx]
+	form["org"]=sppPrefx
 	request2 = form.click()
 	response2 = mechanize.urlopen(request2)
 	a=str(response2.read()).split('href="/kegg-bin/show_pathway?')[1]