From: Mateusz Warowny Date: Fri, 25 Mar 2022 17:53:40 +0000 (+0100) Subject: JAL-3878 Fix re-alignment-capable services detection. X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=3827eecb3244ae69bcee9809e7f809bf77b1e6b0;p=jalview.git JAL-3878 Fix re-alignment-capable services detection. --- 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");