Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Commit

Permalink
Updated parameter type and description for ADAP deconvolution
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-pluskal committed Jun 23, 2017
1 parent 12abed0 commit 64a954e
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,17 @@
import java.awt.Window;
import java.text.NumberFormat;

import com.google.common.collect.Range;

import net.sf.mzmine.main.MZmineCore;
import net.sf.mzmine.modules.peaklistmethods.peakpicking.deconvolution.PeakResolverSetupDialog;
import net.sf.mzmine.parameters.Parameter;
import net.sf.mzmine.parameters.impl.SimpleParameterSet;
import net.sf.mzmine.parameters.parametertypes.DoubleParameter;
import net.sf.mzmine.parameters.parametertypes.ModuleComboParameter;
import net.sf.mzmine.parameters.parametertypes.ranges.DoubleRangeParameter;
import net.sf.mzmine.util.ExitCode;

import com.google.common.collect.Range;
import net.sf.mzmine.parameters.parametertypes.ModuleComboParameter;
import net.sf.mzmine.parameters.parametertypes.ranges.RTRangeParameter;

/**
* Parameters used by CentWaveDetector.
*/
Expand All @@ -52,9 +51,9 @@ public class ADAPDetectorParameters extends SimpleParameterSet {
MZmineCore.getConfiguration().getRTFormat(),
Range.closed(0.0, 10.0));

public static final RTRangeParameter RT_FOR_CWT_SCALES_DURATION = new RTRangeParameter(
public static final DoubleRangeParameter RT_FOR_CWT_SCALES_DURATION = new DoubleRangeParameter(
"RT wavelet range",
"Upper and lower bounds of retention times to be used for setting the wavelet scales.",
"Upper and lower bounds of retention times to be used for setting the wavelet scales. Choose a range that that simmilar to the range of peak widths expected to be found from the data.",
MZmineCore.getConfiguration().getRTFormat(),
true,
Range.closed(0.001, 0.1));
Expand Down

0 comments on commit 64a954e

Please sign in to comment.