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:
a59b614
)
Only send one call per sequence at the moment
author
amwaterhouse
<Andrew Waterhouse>
Tue, 24 Oct 2006 12:36:20 +0000
(12:36 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 24 Oct 2006 12:36:20 +0000
(12:36 +0000)
src/jalview/io/DasSequenceFeatureFetcher.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/DasSequenceFeatureFetcher.java
b/src/jalview/io/DasSequenceFeatureFetcher.java
index
305160e
..
21ead9c
100755
(executable)
--- a/
src/jalview/io/DasSequenceFeatureFetcher.java
+++ b/
src/jalview/io/DasSequenceFeatureFetcher.java
@@
-247,23
+247,24
@@
public class DasSequenceFeatureFetcher
// we know the id for this entry, so don't note its ID in the unknownSequences list
\r
// for (int j = 0; j < uprefs.length; j++)
\r
{
\r
// we know the id for this entry, so don't note its ID in the unknownSequences list
\r
// for (int j = 0; j < uprefs.length; j++)
\r
{
\r
-
\r
- // Will have to pass any mapping information to the fetcher - the start/end for the DBRefEntry may not be the same as the sequence's start/end
\r
+ // Will have to pass any mapping information to the fetcher
\r
+ //- the start/end for the DBRefEntry may not be the same as the sequence's start/end
\r
DasCoordinateSystem cs[] = dasSource.getCoordinateSystem();
\r
DasCoordinateSystem cs[] = dasSource.getCoordinateSystem();
\r
- // if(cs.length>0)
\r
- // System.out.println("err "+
\r
- for (int l = 0; l < cs.length; l++)
\r
+ if(cs.length>0)
\r
{
\r
{
\r
- if (jalview.util.DBRefUtils.isDasCoordinateSystem(cs[l].
\r
- getName(), uprefs[0]))
\r
+ // for (int l = 0; l < cs.length; l++)
\r
{
\r
{
\r
-
\r
- Cache.log.debug("Launched fetcher for coordinate system " +
\r
- cs[l].getName());
\r
-
\r
- createFeatureFetcher(seq,
\r
- dasSource,
\r
- uprefs[0].getAccessionId());
\r
+ //
\r
+ if (jalview.util.DBRefUtils
\r
+ .isDasCoordinateSystem(cs[0].getName(), uprefs[0]))
\r
+ {
\r
+ Cache.log.debug("Launched fetcher for coordinate system " +
\r
+ cs[0].getName());
\r
+
\r
+ createFeatureFetcher(seq,
\r
+ dasSource,
\r
+ uprefs[0].getAccessionId());
\r
+ }
\r
}
\r
}
\r
}
\r
}
\r
}
\r
}
\r