Skip to content
Snippets Groups Projects
Commit 5f3a7ce4 authored by tcarver's avatar tcarver
Browse files

Merge pull request #203 from tcarver/master

allow user plots scaling to be controlled with user_scaling_on
parents fe02dd67 eccb4473
Branches
Tags
No related merge requests found
......@@ -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:
......
......@@ -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");
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment