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
Turn off validation for speed
[jalview.git]
/
src
/
jalview
/
gui
/
Jalview2XML.java
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
5a4b03a
..
eb071e2
100755
(executable)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-633,6
+633,7
@@
public class Jalview2XML
JalviewModel object = new JalviewModel();
\r
\r
Unmarshaller unmar = new Unmarshaller(object);
\r
JalviewModel object = new JalviewModel();
\r
\r
Unmarshaller unmar = new Unmarshaller(object);
\r
+ unmar.setValidation(false);
\r
object = (JalviewModel) unmar.unmarshal( in );
\r
\r
af = LoadFromObject(object);
\r
object = (JalviewModel) unmar.unmarshal( in );
\r
\r
af = LoadFromObject(object);
\r
@@
-752,7
+753,7
@@
public class Jalview2XML
{
\r
anot[ae[aa].getPosition()] = new jalview.datamodel.Annotation(ae[aa].getDisplayCharacter(),
\r
ae[aa].getDescription(),
\r
{
\r
anot[ae[aa].getPosition()] = new jalview.datamodel.Annotation(ae[aa].getDisplayCharacter(),
\r
ae[aa].getDescription(),
\r
- ae[aa].getSecondaryStructure().charAt(0),
\r
+ ae[aa].getSecondaryStructure().length()==0?' ':ae[aa].getSecondaryStructure().charAt(0),
\r
ae[aa].getValue());
\r
}
\r
\r
ae[aa].getValue());
\r
}
\r
\r