public debug report log message to gather any cases where Das coordinate frame mappin...
authorjprocter <Jim Procter>
Wed, 2 May 2007 14:30:02 +0000 (14:30 +0000)
committerjprocter <Jim Procter>
Wed, 2 May 2007 14:30:02 +0000 (14:30 +0000)
src/jalview/io/DasSequenceFeatureFetcher.java

index 58ae580..2f94d64 100755 (executable)
@@ -374,7 +374,19 @@ public class DasSequenceFeatureFetcher
                   source.getNickname());\r
               if (dbref.getMap()!=null && f.getBegin()>0 && f.getEnd()>0) {\r
                 Cache.log.debug("mapping from "+f.getBegin()+" - "+f.getEnd());\r
-                SequenceFeature vf[] = dbref.getMap().locateFeature(f);\r
+                SequenceFeature vf[]=null;\r
+                \r
+                try {\r
+                  vf = dbref.getMap().locateFeature(f);\r
+                }\r
+                catch (Exception ex)\r
+                {\r
+                  Cache.log.info("Error in 'experimental' mapping of features. Please try to reproduce and then report info to help@jalview.org.");\r
+                  Cache.log.info("Mapping feature from "+f.getBegin()+" to "+f.getEnd()+" in dbref "+dbref.getAccessionId()+" in "+dbref.getSource());\r
+                  Cache.log.info("using das Source "+ds.getUrl());\r
+                  Cache.log.info(ex);\r
+                }\r
+                \r
                 if (vf!=null) {\r
                   for (int v=0;v<vf.length;v++)\r
                   {\r