add the resetId filter
@@ -95,14 +95,17 @@ public class RowsFilterParameters extends SimpleParameterSet {
"Remove source peak list after filtering",
"If checked, the original peak list will be removed leaving only the filtered version");
public static final BooleanParameter MS2_Filter = new BooleanParameter(
- "Keep only features with MS/MS scan(GNPS)",
- "If checked, the feature that don't contain MS2 scan will be removed.");
+ "Keep only peaks with MS2 scan (GNPS)",
+ "If checked, the rows that don't contain MS2 scan will be removed.);
+ public static final BooleanParameter Reset_ID = new BooleanParameter(
+ "Reset the peak number ID",
+ "If checked, the row number of original peak list will be reset");
public RowsFilterParameters() {
super(new Parameter[] { PEAK_LISTS, SUFFIX, MIN_PEAK_COUNT,
MIN_ISOTOPE_PATTERN_COUNT, MZ_RANGE, RT_RANGE, PEAK_DURATION,
GROUPSPARAMETER, HAS_IDENTITIES, IDENTITY_TEXT, COMMENT_TEXT,
- REMOVE_ROW, MS2_Filter,AUTO_REMOVE });
+ REMOVE_ROW, MS2_Filter,Reset_ID,AUTO_REMOVE });
}
@Override
