From 3827eecb3244ae69bcee9809e7f809bf77b1e6b0 Mon Sep 17 00:00:00 2001 From: Mateusz Warowny Date: Fri, 25 Mar 2022 18:53:40 +0100 Subject: [PATCH] JAL-3878 Fix re-alignment-capable services detection. --- src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java b/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java index a5f51ab..b1ce5b3 100644 --- a/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java +++ b/src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java @@ -101,7 +101,7 @@ public class SlivkaWSDiscoverer extends AbstractWebServiceDiscoverer wsb.actionClass(AlignmentAction.class); var msaService = wsb.build(); - boolean canRealign = msaService.getName().endsWith("lustal"); + boolean canRealign = msaService.getName().contains("lustal"); var client = new SlivkaAlignmentWSClient(slivkaService); var actionBuilder = AlignmentAction.newBuilder(client); actionBuilder.name("Alignment"); -- 1.7.10.2