JAL-4369 uniprotkb - try to avoid another redirect response
authorJames Procter <j.procter@dundee.ac.uk>
Wed, 10 Jan 2024 10:26:26 +0000 (10:26 +0000)
committerJames Procter <j.procter@dundee.ac.uk>
Wed, 10 Jan 2024 10:26:26 +0000 (10:26 +0000)
src/jalview/ws/dbsources/Uniprot.java

index 6dea12f..82397c8 100644 (file)
@@ -150,7 +150,7 @@ public class Uniprot extends DbSourceProxyImpl
               "(UNIPROT\\|?|UNIPROT_|UNIREF\\d+_|UNIREF\\d+\\|?)", "");
       AlignmentI al = null;
 
-      String downloadstring = getDomain() + "/uniprot/" + queries + ".xml";
+      String downloadstring = getDomain() + "/uniprotkb/" + queries + ".xml";
 
       URL url = new URL(downloadstring);
       HttpURLConnection urlconn = (HttpURLConnection) url.openConnection();