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
JAL-2113 remove spaces in sequence from unmarshalling newlines
[jalview.git]
/
src
/
jalview
/
datamodel
/
xdb
/
embl
/
EmblSequence.java
diff --git
a/src/jalview/datamodel/xdb/embl/EmblSequence.java
b/src/jalview/datamodel/xdb/embl/EmblSequence.java
index
5a18929
..
92c424b
100644
(file)
--- a/
src/jalview/datamodel/xdb/embl/EmblSequence.java
+++ b/
src/jalview/datamodel/xdb/embl/EmblSequence.java
@@
-43,6
+43,7
@@
public class EmblSequence
*/
public void setSequence(String sequence)
{
- this.sequence = sequence;
+ // remove spaces introduced by unmarshalling of newline characters
+ this.sequence = sequence.replace(" ", "");
}
}