JAL-3878 Rename annotation provider method to getAnnotations
[jalview.git] / src / jalview / ws2 / slivka / SlivkaWebService.java
index 82a2ba9..4c58b61 100644 (file)
@@ -216,6 +216,7 @@ public class SlivkaWebService implements WebServiceI
   @Override
   public void cancel(WSJob job) throws IOException
   {
+    job.setStatus(WSJobStatus.CANCELLED);
     Cache.log.warn("Slivka does not support job cancellation yet.");
   }
 
@@ -274,7 +275,7 @@ public class SlivkaWebService implements WebServiceI
     return null;
   }
 
-  public List<AlignmentAnnotation> getAnnotationFile(WSJob job,
+  public List<AlignmentAnnotation> getAnnotations(WSJob job,
       List<SequenceI> dataset, AlignViewportI viewport) throws IOException
   {
     var slivkaJob = client.getJob(job.getJobId());