From: Jim Procter Date: Tue, 13 May 2014 14:13:17 +0000 (+0100) Subject: JAL-1239 cancelled flag should be checked and counted X-Git-Tag: Jalview_2_9~188^2 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=1c7278832a79408ed488ddf60e5edd632f736073;p=jalview.git JAL-1239 cancelled flag should be checked and counted --- diff --git a/src/jalview/ws/JobStateSummary.java b/src/jalview/ws/JobStateSummary.java index 13c70d3..35fb0fc 100644 --- a/src/jalview/ws/JobStateSummary.java +++ b/src/jalview/ws/JobStateSummary.java @@ -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 = "";