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>
Tue, 23 Jan 2024 13:42:52 +0000 (13:42 +0000)
src/jalview/ws/dbsources/Uniprot.java

index 3a4aaf8..299224d 100644 (file)
@@ -144,7 +144,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();