JAL-2755 canonicalise the database source for a dbref before resolving a database...
[jalview.git] / src / jalview / util / DBRefUtils.java
index b9939e6..bded248 100755 (executable)
@@ -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);
         }