JAL-3878 Fix re-alignment-capable services detection.
authorMateusz Warowny <mmzwarowny@dundee.ac.uk>
Fri, 25 Mar 2022 17:53:40 +0000 (18:53 +0100)
committerMateusz Warowny <mmzwarowny@dundee.ac.uk>
Fri, 25 Mar 2022 17:53:40 +0000 (18:53 +0100)
src/jalview/ws2/client/slivka/SlivkaWSDiscoverer.java

index a5f51ab..b1ce5b3 100644 (file)
@@ -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");