From: amwaterhouse Date: Tue, 24 Oct 2006 12:36:20 +0000 (+0000) Subject: Only send one call per sequence at the moment X-Git-Tag: Release_2_2~238 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=6ae5fa606e41ff9e06b55d3f5f613e544ad37937;p=jalview.git Only send one call per sequence at the moment --- diff --git a/src/jalview/io/DasSequenceFeatureFetcher.java b/src/jalview/io/DasSequenceFeatureFetcher.java index 305160e..21ead9c 100755 --- 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 // for (int j = 0; j < uprefs.length; j++) { - - // 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 + // 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 DasCoordinateSystem cs[] = dasSource.getCoordinateSystem(); - // if(cs.length>0) - // System.out.println("err "+ - for (int l = 0; l < cs.length; l++) + if(cs.length>0) { - if (jalview.util.DBRefUtils.isDasCoordinateSystem(cs[l]. - getName(), uprefs[0])) + // for (int l = 0; l < cs.length; l++) { - - Cache.log.debug("Launched fetcher for coordinate system " + - cs[l].getName()); - - createFeatureFetcher(seq, - dasSource, - uprefs[0].getAccessionId()); + // + if (jalview.util.DBRefUtils + .isDasCoordinateSystem(cs[0].getName(), uprefs[0])) + { + Cache.log.debug("Launched fetcher for coordinate system " + + cs[0].getName()); + + createFeatureFetcher(seq, + dasSource, + uprefs[0].getAccessionId()); + } } } }