From: James Procter Date: Wed, 10 Jan 2024 10:26:26 +0000 (+0000) Subject: JAL-4369 uniprotkb - try to avoid another redirect response X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=255d2d1133e1227aba17863bcc23fc35f443e4d2;p=jalview.git JAL-4369 uniprotkb - try to avoid another redirect response --- diff --git a/src/jalview/ws/dbsources/Uniprot.java b/src/jalview/ws/dbsources/Uniprot.java index 6dea12f..82397c8 100644 --- a/src/jalview/ws/dbsources/Uniprot.java +++ b/src/jalview/ws/dbsources/Uniprot.java @@ -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();