From: jprocter Date: Wed, 2 May 2007 14:30:02 +0000 (+0000) Subject: public debug report log message to gather any cases where Das coordinate frame mappin... X-Git-Tag: Release_2_3~72 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=bc7f494552068121b933b776b621a68fe2591647;p=jalview.git public debug report log message to gather any cases where Das coordinate frame mapping fails --- diff --git a/src/jalview/io/DasSequenceFeatureFetcher.java b/src/jalview/io/DasSequenceFeatureFetcher.java index 58ae580..2f94d64 100755 --- a/src/jalview/io/DasSequenceFeatureFetcher.java +++ b/src/jalview/io/DasSequenceFeatureFetcher.java @@ -374,7 +374,19 @@ public class DasSequenceFeatureFetcher source.getNickname()); if (dbref.getMap()!=null && f.getBegin()>0 && f.getEnd()>0) { Cache.log.debug("mapping from "+f.getBegin()+" - "+f.getEnd()); - SequenceFeature vf[] = dbref.getMap().locateFeature(f); + SequenceFeature vf[]=null; + + try { + vf = dbref.getMap().locateFeature(f); + } + catch (Exception ex) + { + Cache.log.info("Error in 'experimental' mapping of features. Please try to reproduce and then report info to help@jalview.org."); + Cache.log.info("Mapping feature from "+f.getBegin()+" to "+f.getEnd()+" in dbref "+dbref.getAccessionId()+" in "+dbref.getSource()); + Cache.log.info("using das Source "+ds.getUrl()); + Cache.log.info(ex); + } + if (vf!=null) { for (int v=0;v