From: <gk...@us...> - 2013-02-08 21:25:43
|
Revision: 25282 http://gmod.svn.sourceforge.net/gmod/?rev=25282&view=rev Author: gk_fan Date: 2013-02-08 21:25:30 +0000 (Fri, 08 Feb 2013) Log Message: ----------- Relaxed URL encoding since current qBlast service doesn't handle certain escape codes. Modified Paths: -------------- apollo/trunk/src/java/apollo/analysis/RemoteBlastNCBI.java Modified: apollo/trunk/src/java/apollo/analysis/RemoteBlastNCBI.java =================================================================== --- apollo/trunk/src/java/apollo/analysis/RemoteBlastNCBI.java 2013-02-01 21:04:39 UTC (rev 25281) +++ apollo/trunk/src/java/apollo/analysis/RemoteBlastNCBI.java 2013-02-08 21:25:30 UTC (rev 25282) @@ -361,7 +361,7 @@ if (opts.isSetFilterMaskLookup()) { buf.append("FILTER=m&"); } - buf.append(URLEncoder.encode("GAPCOSTS=" + opts.getGapOpenCost() + " " + opts.getGapExtendCost() + "&", ENCODING)); + buf.append("GAPCOSTS=" + URLEncoder.encode(opts.getGapOpenCost() + " " + opts.getGapExtendCost(), ENCODING) + "&"); buf.append("GENETIC_CODE=" + opts.getGeneticCode() + "&"); buf.append("HITLIST_SIZE=" + opts.getNumberOfHits() + "&"); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |