exclude cancelled jobs from incomplete
[jabaws.git] / webservices / compbio / stat / collector / StatProcessor.java
index fdd832e..d4dbf78 100644 (file)
@@ -136,7 +136,7 @@ public class StatProcessor {
        public List<JobStat> getIncompleteJobs() {\r
                List<JobStat> aJobs = new ArrayList<JobStat>();\r
                for (JobStat js : stats) {\r
-                       if (!js.hasResult()) {\r
+                       if (!js.hasResult() && !js.getIsCancelled()) {\r
                                aJobs.add(js);\r
                        }\r
                }\r