} else {
if (processingEntry.hasRetrievalUrl())
{
- String safePDBId = java.net.URLEncoder.encode(pdbid,"UTF-8");
+ String safePDBId = java.net.URLEncoder.encode(pdbid,"UTF-8").replace("%","__");
// retrieve from URL to new local tmpfile
File tmpFile = File.createTempFile(safePDBId,