Skip to content

Commit

Permalink
Avoid iterations can't be lower than 5 warning by default.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Oct 30, 2024
1 parent eace390 commit 1c46960
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2014, 2018 Lablicate GmbH.
* Copyright (c) 2014, 2024 Lablicate GmbH.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand All @@ -21,7 +21,7 @@

public class MassSpectrumFilterSettings extends AbstractMassSpectrumFilterSettings {

@JsonProperty(value = "Iterations", defaultValue = "1")
@JsonProperty(value = "Iterations", defaultValue = "100")
@JsonPropertyDescription(value = "The number of iterations to run the filter.")
@IntSettingsProperty(minValue = PreferenceSupplier.MIN_ITERATIONS, maxValue = PreferenceSupplier.MAX_ITERATIONS)
private int iterations = 100;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2014, 2018 Lablicate GmbH.
* Copyright (c) 2014, 2024 Lablicate GmbH.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand All @@ -21,7 +21,7 @@

public class PeakFilterSettings extends AbstractPeakFilterSettings {

@JsonProperty(value = "Iterations", defaultValue = "1")
@JsonProperty(value = "Iterations", defaultValue = "100")
@JsonPropertyDescription(value = "The number of iterations to run the filter.")
@IntSettingsProperty(minValue = PreferenceSupplier.MIN_ITERATIONS, maxValue = PreferenceSupplier.MAX_ITERATIONS)
private int iterations = 100;
Expand Down

0 comments on commit 1c46960

Please sign in to comment.