protected ColumnSelection colSel = new ColumnSelection();
- protected boolean autoCalculateConsensusAndConservation = true;
-
- public boolean getAutoCalculateConsensusAndConservation()
- { // BH 2019.07.24
- return autoCalculateConsensusAndConservation;
- }
-
- public void setAutoCalculateConsensusAndConservation(boolean b)
- {
- autoCalculateConsensusAndConservation = b;
- }
+ public boolean autoCalculateConsensus = true;
protected boolean autoCalculateStrucConsensus = true;
- public boolean getAutoCalculateStrucConsensus()
- { // BH 2019.07.24
- return autoCalculateStrucConsensus;
- }
-
- public void setAutoCalculateStrucConsensus(boolean b)
- {
- autoCalculateStrucConsensus = b;
- }
-
protected boolean ignoreGapsInConsensusCalculation = false;
protected ResidueShaderI residueShading = new ResidueShader();
// see note in mantis : issue number 8585
if (alignment.isNucleotide()
|| (conservation == null && quality == null)
- || !autoCalculateConsensusAndConservation)
+ || !autoCalculateConsensus)
{
return;
}
public void updateConsensus(final AlignmentViewPanel ap)
{
// see note in mantis : issue number 8585
- if (consensus == null || !autoCalculateConsensusAndConservation)
+ if (consensus == null || !autoCalculateConsensus)
{
return;
}
{
alignment.padGaps();
}
- if (autoCalculateConsensusAndConservation)
+ if (autoCalculateConsensus)
{
updateConsensus(ap);
}
- if (hconsensus != null && autoCalculateConsensusAndConservation)
+ if (hconsensus != null && autoCalculateConsensus)
{
updateConservation(ap);
}