git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f20cd3
)
JAL-2755 canonicalise the database source for a dbref before resolving a database...
patch/JAL-2755_UniprotEnsemblSubnameWorkaround
author
Jim Procter
<jprocter@issues.jalview.org>
Thu, 20 Sep 2018 15:39:45 +0000
(16:39 +0100)
committer
Jim Procter
<jprocter@issues.jalview.org>
Thu, 20 Sep 2018 15:39:45 +0000
(16:39 +0100)
src/jalview/util/DBRefUtils.java
patch
|
blob
|
history
diff --git
a/src/jalview/util/DBRefUtils.java
b/src/jalview/util/DBRefUtils.java
index
b9939e6
..
bded248
100755
(executable)
--- 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);
}