From: Jim Procter Date: Thu, 20 Sep 2018 15:39:45 +0000 (+0100) Subject: JAL-2755 canonicalise the database source for a dbref before resolving a database... X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fpatch%2FJAL-2755_UniprotEnsemblSubnameWorkaround;p=jalview.git JAL-2755 canonicalise the database source for a dbref before resolving a database fetcher for it.. --- diff --git a/src/jalview/util/DBRefUtils.java b/src/jalview/util/DBRefUtils.java index b9939e6..bded248 100755 --- a/src/jalview/util/DBRefUtils.java +++ b/src/jalview/util/DBRefUtils.java @@ -616,7 +616,8 @@ public class DBRefUtils { for (DBRefEntry dbref : dbRefs) { - if (source.equalsIgnoreCase(dbref.getSource())) + if (source.equalsIgnoreCase( + DBRefUtils.getCanonicalName(dbref.getSource()))) { matches.add(dbref); }