git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Watch out for - symbol lin jnet files
[jalview.git]
/
src
/
jalview
/
io
/
FeaturesFile.java
diff --git
a/src/jalview/io/FeaturesFile.java
b/src/jalview/io/FeaturesFile.java
index
d81141c
..
e4fd38e
100755
(executable)
--- a/
src/jalview/io/FeaturesFile.java
+++ b/
src/jalview/io/FeaturesFile.java
@@
-125,7
+125,7
@@
public class FeaturesFile extends AlignFile
else
\r
{
\r
UserColourScheme ucs = new UserColourScheme(st.nextToken());
\r
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
if (st.hasMoreElements())
\r
{
\r
String link = st.nextToken();
\r
@@
-230,7
+230,7
@@
public class FeaturesFile extends AlignFile
{
\r
// Probably the old style groups file
\r
UserColourScheme ucs = new UserColourScheme(type);
\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
\r
sf = new SequenceFeature(type, desc, "", start, end, featureGroup);
\r
@@
-410,6
+410,10
@@
public class FeaturesFile extends AlignFile
out.append(next[j].type+"\t");
\r
else
\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
out.append(next[j].description+" ");
\r
if(next[j].links!=null)
\r
{
\r
@@
-428,7
+432,12
@@
public class FeaturesFile extends AlignFile
+ "</a>");
\r
}
\r
}
\r
+ "</a>");
\r
}
\r
}
\r
+
\r
+ if (next[j].getDescription().indexOf("</html>") == -1)
\r
+ out.append("</html>");
\r
}
\r
}
\r
+
\r
+
\r
out.append("\t");
\r
}
\r
\r
out.append("\t");
\r
}
\r
\r