From: jprocter Date: Sun, 2 Sep 2012 13:32:27 +0000 (+0100) Subject: JAL-659 cope with case insensitive accessions by forcing to uppercase X-Git-Tag: Jalview_2_9~357 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=2ca2207a05be706b6b068839e9f752d8c0744315;p=jalview.git JAL-659 cope with case insensitive accessions by forcing to uppercase --- diff --git a/src/jalview/ws/DasSequenceFeatureFetcher.java b/src/jalview/ws/DasSequenceFeatureFetcher.java index bef6425..6a31956 100644 --- a/src/jalview/ws/DasSequenceFeatureFetcher.java +++ b/src/jalview/ws/DasSequenceFeatureFetcher.java @@ -449,6 +449,10 @@ public class DasSequenceFeatureFetcher for (SEGMENT seg : segments) { String id = seg.getId(); + if (ids.indexOf(id)==-1) + { + id=id.toUpperCase(); + } DBRefEntry dbref = idobj.get(ids.indexOf(id)); SequenceI sequence = sequencemap.get(id); boolean added = false;