From 8c09d04c5ec473af68b498295321d58ad58c343d Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Thu, 20 Sep 2018 16:39:45 +0100 Subject: [PATCH] JAL-2755 canonicalise the database source for a dbref before resolving a database fetcher for it.. --- src/jalview/util/DBRefUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 1.7.10.2