diff --git a/uk/ac/sanger/artemis/plot/Algorithm.java b/uk/ac/sanger/artemis/plot/Algorithm.java index 1ffeb9e5ce2170ccc6d16978a6defdd4b3245f76..a160d2ff98bedf8086695e26b52e1e96c3d31ce3 100644 --- a/uk/ac/sanger/artemis/plot/Algorithm.java +++ b/uk/ac/sanger/artemis/plot/Algorithm.java @@ -51,7 +51,7 @@ public abstract class Algorithm { /** * Set by disableMaxAndMin () and enableMaxAndMin (). **/ - private boolean max_min_disabled = false; + protected boolean max_min_disabled = false; /** * Set by the constructor by looking at the options with this name: diff --git a/uk/ac/sanger/artemis/plot/UserDataAlgorithm.java b/uk/ac/sanger/artemis/plot/UserDataAlgorithm.java index 4efab14410304f805ec5fa3662db63d80b2ddef1..ae3661602ee7274772b93079189025d20d7847d8 100644 --- a/uk/ac/sanger/artemis/plot/UserDataAlgorithm.java +++ b/uk/ac/sanger/artemis/plot/UserDataAlgorithm.java @@ -184,6 +184,9 @@ public class UserDataAlgorithm extends BaseAlgorithm readWiggle(pushback_reader); pushback_reader.close(); doc_reader.close(); + + max_min_disabled = Options.getOptions ().getPropertyTruthValue( + getAlgorithmShortName () + "_scaling_on"); } /**