Comment out start and end refs
authoramwaterhouse <Andrew Waterhouse>
Thu, 10 Aug 2006 12:58:00 +0000 (12:58 +0000)
committeramwaterhouse <Andrew Waterhouse>
Thu, 10 Aug 2006 12:58:00 +0000 (12:58 +0000)
src/jalview/io/DasSequenceFeatureFetcher.java

index 2577a8b..7a001a9 100755 (executable)
@@ -205,7 +205,6 @@ public class DasSequenceFeatureFetcher implements Runnable
                                //  null\r
                        // );\r
 \r
-                     // System.out.println(nickname+" "+f.getType()+" "+f.begin+" "+f.end);\r
          return f;\r
          }\r
          catch (Exception e) {\r
@@ -239,9 +238,8 @@ public class DasSequenceFeatureFetcher implements Runnable
           {\r
             setThreadsRunning(+1);\r
 \r
-            int start=seq.getStart(), end = seq.getEnd();\r
-\r
-            if(af.getViewport().getSelectionGroup()!=null)\r
+          //  int start=seq.getStart(), end = seq.getEnd();\r
+          /*  if(af.getViewport().getSelectionGroup()!=null)\r
             {\r
               SequenceI tmp = af.getViewport().getAlignment().findName(seq.getName());\r
               start = tmp.findPosition(\r
@@ -251,7 +249,7 @@ public class DasSequenceFeatureFetcher implements Runnable
               end = tmp.findPosition(\r
                  af.getViewport().getSelectionGroup().getEndRes()\r
                  );\r
-            }\r
+            }*/\r
 \r
             FeatureThread fetcher = new FeatureThread(id\r
                                                    //  +  ":" + start + "," + end,\r
@@ -311,7 +309,12 @@ public class DasSequenceFeatureFetcher implements Runnable
   {\r
     threadsRunning += i;\r
     if(threadsRunning<1)\r
+    {\r
       af.setProgressBar("DAS Feature Fetching Complete", startTime);\r
+\r
+      if(af.featureSettings!=null)\r
+        af.featureSettings.setTableData();\r
+    }\r
   }\r
 \r
   /**\r