JAL-659 cope with case insensitive accessions by forcing to uppercase
authorjprocter <jprocter@compbio.dundee.ac.uk>
Sun, 2 Sep 2012 13:32:27 +0000 (14:32 +0100)
committerjprocter <jprocter@compbio.dundee.ac.uk>
Sun, 2 Sep 2012 13:32:27 +0000 (14:32 +0100)
src/jalview/ws/DasSequenceFeatureFetcher.java

index bef6425..6a31956 100644 (file)
@@ -449,6 +449,10 @@ public class DasSequenceFeatureFetcher
         for (SEGMENT seg : segments)\r
         {\r
           String id = seg.getId();\r
+          if (ids.indexOf(id)==-1)\r
+          {\r
+            id=id.toUpperCase();\r
+          }\r
           DBRefEntry dbref = idobj.get(ids.indexOf(id));\r
           SequenceI sequence = sequencemap.get(id);\r
           boolean added = false;\r