X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Fgenerator_CPTA.py;h=e27a52172b69b6d4277a8943392fbb5d28fade57;hp=e3cc55f8cf95f7ca458558a898f1ad228b08e8a7;hb=3c510d8dd18bd8ceb2c5d86ed058976e72ddead4;hpb=fde192bc8a6ba1a4e2b4cf5b3297fb076efd58fc diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index e3cc55f8cf..e27a52172b 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -172,8 +172,8 @@ def _evaluate_results(trimmed_data, window=10): if first: first = False continue - if (np.isnan(value) \ - or np.isnan(tmm[build_nr]) \ + if (np.isnan(value) + or np.isnan(tmm[build_nr]) or np.isnan(tmstd[build_nr])): results.append(0.0) elif value < (tmm[build_nr] - 3 * tmstd[build_nr]):