JAL-3690 AACon ws menu entry fix.
authorMateusz <mmzwarowny@dundee.ac.uk>
Tue, 19 Jan 2021 16:10:27 +0000 (17:10 +0100)
committerMateusz <mmzwarowny@dundee.ac.uk>
Fri, 22 Jan 2021 14:11:53 +0000 (15:11 +0100)
src/jalview/ws/slivkaws/SlivkaAnnotationServiceInstance.java

index f11eb1c..b3509b0 100644 (file)
@@ -35,7 +35,9 @@ public class SlivkaAnnotationServiceInstance extends SlivkaWSInstance implements
     super(client, service, category);
     if (category == Category.CATEGORY_CONSERVATION)
     {
-      setAlignAnalysisUI(new AlignAnalysisUIText(category,
+      /* FIXME: the category name is hardcoded for AACon, names other than
+       * "AAConWS" doesn't work. */
+      setAlignAnalysisUI(new AlignAnalysisUIText(getName(),
               SlivkaAnnotationServiceInstance.class,
               "Slivka.AACons", false, true, true, true, true, 2,
               MessageManager.getString("label.aacon_calculations"),