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:
550c391
)
JAL-1705 more lenient test for 'sequence retrieved'
author
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 19 Feb 2016 16:51:48 +0000
(16:51 +0000)
committer
gmungoc
<g.m.carstairs@dundee.ac.uk>
Fri, 19 Feb 2016 16:51:48 +0000
(16:51 +0000)
src/jalview/gui/SequenceFetcher.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/SequenceFetcher.java
b/src/jalview/gui/SequenceFetcher.java
index
742a109
..
fc6fb0d
100755
(executable)
--- a/
src/jalview/gui/SequenceFetcher.java
+++ b/
src/jalview/gui/SequenceFetcher.java
@@
-642,13
+642,14
@@
public class SequenceFetcher extends JPanel implements Runnable
boolean rfound = false;
for (int r = 0; r < rs.length; r++)
{
- if (rs[r] != null
- && (found = DBRefUtils.searchRefs(
- rs[r].getDBRefs(), dbr)) != null
- && found.length > 0)
+ if (rs[r] != null)
{
- rfound = true;
- rs[r] = null;
+ found = DBRefUtils.searchRefs(rs[r].getDBRefs(), accId);
+ if (found != null && found.length > 0)
+ {
+ rfound = true;
+ rs[r] = null;
+ }
}
}
if (!rfound)