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-3485 constants for CDNA_CONSENSUS, STRUCTURE_CONSENSUS added
[jalview.git]
/
src
/
jalview
/
renderer
/
AnnotationRenderer.java
diff --git
a/src/jalview/renderer/AnnotationRenderer.java
b/src/jalview/renderer/AnnotationRenderer.java
index
05be67b
..
1e2cf76
100644
(file)
--- a/
src/jalview/renderer/AnnotationRenderer.java
+++ b/
src/jalview/renderer/AnnotationRenderer.java
@@
-365,9
+365,11
@@
public class AnnotationRenderer
//
if (aa.autoCalculated
&& (aa.label.startsWith(AutoAnnotation.CONSENSUS.label)
//
if (aa.autoCalculated
&& (aa.label.startsWith(AutoAnnotation.CONSENSUS.label)
- || aa.label.startsWith("cDNA Consensus")))
+ || aa.label.startsWith(
+ AutoAnnotation.CDNA_CONSENSUS.label)))
{
{
- boolean forComplement = aa.label.startsWith("cDNA Consensus");
+ boolean forComplement = aa.label
+ .startsWith(AutoAnnotation.CDNA_CONSENSUS.label);
if (aa.groupRef != null && aa.groupRef.consensusData != null
&& aa.groupRef.isShowSequenceLogo())
{
if (aa.groupRef != null && aa.groupRef.consensusData != null
&& aa.groupRef.isShowSequenceLogo())
{
@@
-394,7
+396,8
@@
public class AnnotationRenderer
}
else
{
}
else
{
- if (aa.autoCalculated && aa.label.startsWith("StrucConsensus"))
+ if (aa.autoCalculated && aa.label
+ .startsWith(AutoAnnotation.STRUCTURE_CONSENSUS.label))
{
// TODO implement group structure consensus
/*
{
// TODO implement group structure consensus
/*