if (!sequenceFeatures[sfindex].type.equals(type))\r
continue;\r
\r
- if(sequenceFeatures[sfindex]==null)\r
- {\r
- }\r
- else if (featureGroups != null\r
+ if (featureGroups != null\r
&& sequenceFeatures[sfindex].featureGroup != null\r
&&\r
featureGroups.containsKey(sequenceFeatures[sfindex].featureGroup)\r
\r
if (overview)\r
{\r
-\r
- if (sequenceFeatures[sfindex].begin - 1 <= start &&\r
- sequenceFeatures[sfindex].end + 1 >= start)\r
+ if (sequenceFeatures[sfindex].begin <= start &&\r
+ sequenceFeatures[sfindex].end >= start)\r
{\r
currentColour = av.featuresDisplayed.get(sequenceFeatures[sfindex].\r
type);\r
getColour(sequenceFeatures[sfindex].type),\r
start, end, y1, width, height);\r
\r
-\r
}\r
-\r
}\r
}\r
\r