Skip to content

Commit

Permalink
Remove debugging information
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikBuetler committed Aug 6, 2024
1 parent f7070e3 commit e50f39b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libraries/results.php
Original file line number Diff line number Diff line change
Expand Up @@ -288,14 +288,13 @@ function updatePlots(){
$p['plotData'] = $plot->process($groupedJobs, $p);
$temp = json_decode($p['plotData'], true);
foreach ($temp['datasets'] as $dataset) {
if(isset($dataset['data'])) {
if(count($dataset['data'])>0) {
$tempData['dataForEval'][] = array_sum($dataset['data']) / count($dataset['data']);
}
else {
$tempData['dataForEval'][] = 0;
}
}
echo "Adding to labels: ". $evaluation->getName();
$tempLabels['labelsForEval'][] = $evaluation->getName();

}
Expand Down

0 comments on commit e50f39b

Please sign in to comment.