From: gmungoc Date: Thu, 18 May 2017 16:01:44 +0000 (+0100) Subject: JAL-2490 initial unit tests prior to refactoring X-Git-Tag: Release_2_10_3b1~262 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=f4e78f8f0fa25050e2f164d93cf81d8bea69e4e7;p=jalview.git JAL-2490 initial unit tests prior to refactoring --- diff --git a/src/jalview/analysis/AlignmentSorter.java b/src/jalview/analysis/AlignmentSorter.java index 6c46a3e..e9fb335 100755 --- a/src/jalview/analysis/AlignmentSorter.java +++ b/src/jalview/analysis/AlignmentSorter.java @@ -682,35 +682,6 @@ public class AlignmentSorter public static String FEATURE_DENSITY = "density"; - /** - * sort the alignment using the features on each sequence found between start - * and stop with the given featureLabel (and optional group qualifier) - * - * @param featureLabel - * (may not be null) - * @param groupLabel - * (may be null) - * @param start - * (-1 to include non-positional features) - * @param stop - * (-1 to only sort on non-positional features) - * @param alignment - * - aligned sequences containing features - * @param method - * - one of the string constants FEATURE_SCORE, FEATURE_LABEL, - * FEATURE_DENSITY - */ - public static void sortByFeature(String featureLabel, String groupLabel, - int start, int stop, AlignmentI alignment, String method) - { - sortByFeature( - featureLabel == null ? null - : Arrays.asList(new String[] { featureLabel }), - groupLabel == null ? null : Arrays - .asList(new String[] { groupLabel }), start, stop, - alignment, method); - } - private static boolean containsIgnoreCase(final String lab, final List labs) {