else\r
{\r
UserColourScheme ucs = new UserColourScheme(st.nextToken());\r
- colours.put(type, ucs.findColour("A"));\r
+ colours.put(type, ucs.findColour('A'));\r
if (st.hasMoreElements())\r
{\r
String link = st.nextToken();\r
{\r
// Probably the old style groups file\r
UserColourScheme ucs = new UserColourScheme(type);\r
- colours.put(type, ucs.findColour("A"));\r
+ colours.put(type, ucs.findColour('A'));\r
}\r
\r
sf = new SequenceFeature(type, desc, "", start, end, featureGroup);\r
\r
public void parseDescriptionHTML(SequenceFeature sf, boolean removeHTML)\r
{\r
+ if(sf.getDescription()==null)\r
+ return;\r
+\r
if(removeHTML && sf.getDescription().toUpperCase().indexOf("<HTML>")==-1)\r
removeHTML = false;\r
\r
out.append(next[j].type+"\t");\r
else\r
{\r
+ if(next[j].links!=null\r
+ && next[j].getDescription().indexOf("<html>")==-1)\r
+ out.append("<html>");\r
+\r
out.append(next[j].description+" ");\r
if(next[j].links!=null)\r
{\r
+ "</a>");\r
}\r
}\r
+\r
+ if (next[j].getDescription().indexOf("</html>") == -1)\r
+ out.append("</html>");\r
}\r
+\r
+\r
out.append("\t");\r
}\r
\r