public static IsotopePattern showIsotopePredictionDialog() {
ParameterSet parameters = MZmineCore.getConfiguration()
.getModuleParameters(IsotopePatternCalculator.class);
ExitCode exitCode = parameters.showSetupDialog();
if (exitCode != ExitCode.OK)
return null;
String formula = parameters.getParameter(
IsotopePatternCalculatorParameters.formula).getValue();