JAL-1239 cancelled flag should be checked and counted
authorJim Procter <jprocter@dundee.ac.uk>
Tue, 13 May 2014 14:13:17 +0000 (15:13 +0100)
committerJim Procter <jprocter@dundee.ac.uk>
Tue, 13 May 2014 14:13:17 +0000 (15:13 +0100)
src/jalview/ws/JobStateSummary.java

index 13c70d3..35fb0fc 100644 (file)
@@ -75,6 +75,13 @@ public class JobStateSummary
   public void updateJobPanelState(WebserviceInfo wsInfo,
           String OutputHeader, AWsJob j)
   {
+    if (j.cancelled)
+    {
+        cancelled++;
+        j.subjobComplete=true;
+        wsInfo.setStatus(j.jobnum, WebserviceInfo.STATE_CANCELLED_OK);
+        return;
+    } 
     if (j.submitted)
     {
       String progheader = "";