git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4c1851
)
raise a warning if column annotation gets truncated.
author
jprocter
<Jim Procter>
Thu, 11 Mar 2010 17:04:54 +0000
(17:04 +0000)
committer
jprocter
<Jim Procter>
Thu, 11 Mar 2010 17:04:54 +0000
(17:04 +0000)
src/jalview/io/AMSAFile.java
patch
|
blob
|
history
diff --git
a/src/jalview/io/AMSAFile.java
b/src/jalview/io/AMSAFile.java
index
20cf745
..
1fcda43
100644
(file)
--- a/
src/jalview/io/AMSAFile.java
+++ b/
src/jalview/io/AMSAFile.java
@@
-86,7
+86,11
@@
public class AMSAFile extends jalview.io.FastaFile
{
ch = aa.annotations[k].displayCharacter;
}
-
+ if (ch.length()>1)
+ {
+ this.warningMessage="Truncated column annotation to first letter.";
+ ch = ch.substring(0,1);
+ }
out.append(ch);
}