\r
type = st.nextToken();\r
\r
+ if (fr.getColour(type) == null)\r
+ {\r
+ // Probably the old style groups file\r
+ UserColourScheme ucs = new UserColourScheme(type);\r
+ fr.setColour(type, ucs.findColour("A"));\r
+ }\r
+\r
+\r
sf = new SequenceFeature(type, desc, "", start, end);\r
\r
seq.addSequenceFeature(sf);\r
\r
- System.out.println(sf.getType()+" "+sf.getBegin());\r
\r
// sg = new SequenceGroup(text, ucs, true, true, false, start, end);\r
// sg.addSequence(seq, false);\r