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:
8bb156f
)
possible fix for stockhom ss-annotation re-creation after it is saved to Jalview...
author
jprocter
<Jim Procter>
Fri, 22 Feb 2008 16:28:47 +0000
(16:28 +0000)
committer
jprocter
<Jim Procter>
Fri, 22 Feb 2008 16:28:47 +0000
(16:28 +0000)
src/jalview/datamodel/AlignmentAnnotation.java
patch
|
blob
|
history
diff --git
a/src/jalview/datamodel/AlignmentAnnotation.java
b/src/jalview/datamodel/AlignmentAnnotation.java
index
8cfe728
..
f68786b
100755
(executable)
--- a/
src/jalview/datamodel/AlignmentAnnotation.java
+++ b/
src/jalview/datamodel/AlignmentAnnotation.java
@@
-154,8
+154,11
@@
Loading...
{
continue;
}
-
+
if (annotations[i].displayCharacter.length() == 1
+ // Uncomment to only catch case where displayCharacter==secondary Structure
+ // to correctly redisplay SS annotation imported from Stockholm, exported to JalviewXML and read back in again.
+ // && annotations[i].displayCharacter.charAt(0)==annotations[i].secondaryStructure
&& !annotations[i].displayCharacter.equals("H")
&& !annotations[i].displayCharacter.equals("E")
&& !annotations[i].displayCharacter.equals("-")