From 7644090def482973f8e3d27743e73437bb4d1b15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 30 Oct 2024 14:20:20 +0100 Subject: [PATCH 1/6] Fix typo. --- .../settings/DeleteQuantitationReferencesFilterSettings.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/settings/DeleteQuantitationReferencesFilterSettings.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/settings/DeleteQuantitationReferencesFilterSettings.java index 6effc56745..c19cf1e4f2 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/settings/DeleteQuantitationReferencesFilterSettings.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/settings/DeleteQuantitationReferencesFilterSettings.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2022 Lablicate GmbH. + * Copyright (c) 2022, 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 @@ -17,7 +17,7 @@ public class DeleteQuantitationReferencesFilterSettings { @JsonProperty(value = "Delete Quantitation References", defaultValue = "") - @JsonPropertyDescription(value = "If empty, all references are deleted. Otherwise the speficied reference if available.") + @JsonPropertyDescription(value = "If empty, all references are deleted. Otherwise the specified reference if available.") private String quantitationReference = ""; public String getQuantitationReference() { From 6d749cc46aa01e525a57c61fd9c93cdad12b27fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 30 Oct 2024 14:28:13 +0100 Subject: [PATCH 2/6] Use a better description. --- .../xxd/filter/peaks/DeleteIntegrationsFilter.java | 5 ++--- .../chemclipse/xxd/filter/peaks/DeleteTargetsFilter.java | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteIntegrationsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteIntegrationsFilter.java index 5a7fbfe9b3..672e0cad8d 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteIntegrationsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteIntegrationsFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2022 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -35,7 +35,7 @@ public String getName() { @Override public String getDescription() { - return "Filter Peak Integrations"; + return "Reset calculated area/height."; } @Override @@ -51,7 +51,6 @@ public void filterPeaks(IChromatogramSelection chromatogramSelection, Dele if(configuration == null) { configuration = createConfiguration(peaks); } - // if(configuration.isDeleteIntegrations()) { SubMonitor subMonitor = SubMonitor.convert(context.getProgressMonitor(), peaks.size()); for(IPeak peak : peaks) { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteTargetsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteTargetsFilter.java index 92f46b3f6b..d557fc2c11 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteTargetsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteTargetsFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2022 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -36,7 +36,7 @@ public String getName() { @Override public String getDescription() { - return "Filter Peak Targets"; + return "Remove all identification results."; } @Override From eeb292145c35eb09c97ad2956e8b6dc01162ca10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 30 Oct 2024 14:28:32 +0100 Subject: [PATCH 3/6] Delete descriptions that just repeat the name. --- .../filter/peaks/DeleteQuantitationReferencesFilter.java | 8 +------- .../xxd/filter/peaks/DeleteQuantitationsFilter.java | 8 +------- .../xxd/filter/peaks/DeleteStandardsFilter.java | 8 +------- 3 files changed, 3 insertions(+), 21 deletions(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationReferencesFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationReferencesFilter.java index 2e3b33741b..5faa0f46b6 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationReferencesFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationReferencesFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2022 Lablicate GmbH. + * Copyright (c) 2022, 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 @@ -32,12 +32,6 @@ public String getName() { return "Delete Quantitation References"; } - @Override - public String getDescription() { - - return "Delete the peak quantitation references."; - } - @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationsFilter.java index 88da92be5b..acd30befbe 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteQuantitationsFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2022 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -32,12 +32,6 @@ public String getName() { return "Delete Quantitations"; } - @Override - public String getDescription() { - - return "Filter Peak Quantitations"; - } - @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java index 730334285e..abeb836b2b 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2022 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -32,12 +32,6 @@ public String getName() { return "Delete Standards"; } - @Override - public String getDescription() { - - return "Filter Peak Standards"; - } - @Override public Class getConfigClass() { From 33574e47a8933fe34b818c0c7b290e34e39baf93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 30 Oct 2024 14:28:43 +0100 Subject: [PATCH 4/6] Add descriptions. --- .../filter/supplier/xpass/core/HighPassIonsFilter.java | 8 +++++++- .../filter/supplier/xpass/core/LowPassIonsFilter.java | 8 +++++++- .../xxd/filter/peaks/DeletePeaksByModelFilter.java | 6 ++++++ .../filter/peaks/DeletePeaksByQuantitationFilter.java | 8 +++++++- .../xxd/filter/peaks/DeletePeaksByTargetFilter.java | 8 +++++++- .../xxd/filter/peaks/DeletePeaksByTraceFilter.java | 8 +++++++- .../xxd/filter/peaks/DeleteStandardsFilter.java | 6 ++++++ .../xxd/filter/peaks/PeakActiveForAnalysisFilter.java | 9 +++++++-- .../xxd/filter/peaks/SignalToNoisePeakFilter.java | 8 +++++++- 9 files changed, 61 insertions(+), 8 deletions(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/HighPassIonsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/HighPassIonsFilter.java index fc55e43246..16adffdcb4 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/HighPassIonsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/HighPassIonsFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2023 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -35,6 +35,12 @@ public String getName() { return "High Pass Ions"; } + @Override + public String getDescription() { + + return "Remove all but n-highest ions by abundance."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/LowPassIonsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/LowPassIonsFilter.java index 616fcd9ebf..764a739d92 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/LowPassIonsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/LowPassIonsFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2023 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -35,6 +35,12 @@ public String getName() { return "Low Pass Ions"; } + @Override + public String getDescription() { + + return "Remove all but n-lowest ions by abundance."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByModelFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByModelFilter.java index 3e640a9b8c..52d400a0ed 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByModelFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByModelFilter.java @@ -34,6 +34,12 @@ public String getName() { return "Delete Peaks by Model"; } + @Override + public String getDescription() { + + return "Filter by internal peak model."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByQuantitationFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByQuantitationFilter.java index cba194abc2..5b3b12eebd 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByQuantitationFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByQuantitationFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2019, 2022 Lablicate GmbH. + * Copyright (c) 2019, 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 @@ -36,6 +36,12 @@ public String getName() { return "Delete Peaks by Quantitation"; } + @Override + public String getDescription() { + + return "Filter by name or concentration."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTargetFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTargetFilter.java index 58ffccc837..ccf10ef254 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTargetFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTargetFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2019, 2022 Lablicate GmbH. + * Copyright (c) 2019, 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 @@ -37,6 +37,12 @@ public String getName() { return "Delete Peaks by Target"; } + @Override + public String getDescription() { + + return "Filter by identification results."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTraceFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTraceFilter.java index a4481c7712..0578b9e46f 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTraceFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeletePeaksByTraceFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2023 Lablicate GmbH. + * Copyright (c) 2023, 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 @@ -39,6 +39,12 @@ public String getName() { return "Delete Peaks by Trace"; } + @Override + public String getDescription() { + + return "Filter by mass traces."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java index abeb836b2b..5e90018425 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/DeleteStandardsFilter.java @@ -32,6 +32,12 @@ public String getName() { return "Delete Standards"; } + @Override + public String getDescription() { + + return "Remove internal standard information."; + } + @Override public Class getConfigClass() { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/PeakActiveForAnalysisFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/PeakActiveForAnalysisFilter.java index a87d127eba..10ca1f9625 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/PeakActiveForAnalysisFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/PeakActiveForAnalysisFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2022 Lablicate GmbH. + * Copyright (c) 2022, 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 @@ -32,6 +32,12 @@ public String getName() { return "Activate/Deactivate for Analysis"; } + @Override + public String getDescription() { + + return "Sets the active for analysis status for all peaks."; + } + @Override public Class getConfigClass() { @@ -45,7 +51,6 @@ public void filterPeaks(IChromatogramSelection chromatogramSelection, Peak if(configuration == null) { configuration = createConfiguration(peaks); } - // SubMonitor subMonitor = SubMonitor.convert(context.getProgressMonitor(), peaks.size()); boolean activeForAnalysis = configuration.isActiveForAnalysis(); for(IPeak peak : peaks) { diff --git a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/SignalToNoisePeakFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/SignalToNoisePeakFilter.java index c41f875c59..8ea8bda84a 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/SignalToNoisePeakFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.xxd.filter/src/org/eclipse/chemclipse/xxd/filter/peaks/SignalToNoisePeakFilter.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2020, 2023 Lablicate GmbH. + * Copyright (c) 2020, 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 @@ -36,6 +36,12 @@ public String getName() { return "Signal to Noise"; } + @Override + public String getDescription() { + + return "Filter by s/n ratio."; + } + @Override public Class getConfigClass() { From 432f3400300910c8d43ee86c08b42a5835729d02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 30 Oct 2024 15:05:45 +0100 Subject: [PATCH 5/6] Code cleanup. --- .../msd/filter/supplier/xpass/core/XPassFilter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/XPassFilter.java b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/XPassFilter.java index 6cb9a1c485..0f96c29ba4 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/XPassFilter.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.msd.filter.supplier.xpass/src/org/eclipse/chemclipse/chromatogram/msd/filter/supplier/xpass/core/XPassFilter.java @@ -57,7 +57,7 @@ private static void filter(IScanMSD massSpectrum, SortOrder sortOrder, int numbe List ions = new ArrayList<>(massSpectrum.getIons()); Collections.sort(ions, new IonAbundanceComparator(sortOrder)); - List ionsToRemove = new ArrayList(); + List ionsToRemove = new ArrayList<>(); int counter = 0; for(IIon ion : ions) { if(counter >= number) { From f0f5db704e2fd8cb3dc525e5ffdaa305239fcda7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Wed, 30 Oct 2024 15:11:22 +0100 Subject: [PATCH 6/6] Avoid iterations can't be lower than 5 warning by default. --- .../supplier/snip/settings/MassSpectrumFilterSettings.java | 4 ++-- .../xxd/edit/supplier/snip/settings/PeakFilterSettings.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/MassSpectrumFilterSettings.java b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/MassSpectrumFilterSettings.java index 48f6076d74..fcae0c531f 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/MassSpectrumFilterSettings.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/MassSpectrumFilterSettings.java @@ -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 @@ -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; diff --git a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/PeakFilterSettings.java b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/PeakFilterSettings.java index 697d9e59cb..568b6879ac 100644 --- a/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/PeakFilterSettings.java +++ b/chemclipse/plugins/org.eclipse.chemclipse.chromatogram.xxd.edit.supplier.snip/src/org/eclipse/chemclipse/chromatogram/xxd/edit/supplier/snip/settings/PeakFilterSettings.java @@ -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 @@ -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;