text.append("pidThreshold=");
text.append(sg.cs.getThreshold());
}
+ if (sg.cs.isConsensusSecondaryStructureColouring())
+ {
+ text.append("secondaryStructureConservationThreshold=");
+ text.append(sg.cs.getConsensusSecondaryStructureThreshold());
+ text.append("\t");
+ }
if (sg.cs.conservationApplied())
{
text.append("consThreshold=");
sg.cs.setThreshold(Integer.parseInt(value), true);
}
+ else if(key.equalsIgnoreCase("secondaryStructureConservationThreshold"))
+ {
+ sg.cs.setConsensusSecondaryStructureThreshold(Integer.parseInt(value));
+ sg.cs.setConsensusSecondaryStructureColouring(true);
+
+ }
else if (key.equalsIgnoreCase("consThreshold"))
{
sg.cs.setConservationInc(Integer.parseInt(value));