Revision a82a476a
Added by Andreas Kohlbecker about 4 years ago
modules/cdm_dataportal/includes/common.inc | ||
---|---|---|
282 | 282 |
'Average' => NULL, |
283 | 283 |
'Variance' => NULL, |
284 | 284 |
'StandardDeviation' => NULL, |
285 |
'ExactValue' => NULL |
|
285 | 286 |
]; |
286 | 287 |
return $min_max; |
287 | 288 |
} |
... | ... | |
309 | 310 |
$min_max_markup = ''; |
310 | 311 |
$other_vals_array = []; |
311 | 312 |
|
313 |
if(statistical_values_is_numeric($stat_vals_arr['ExactValue'])){ |
|
314 |
// ExactValue has just been introduces as new statistical measure |
|
315 |
// --> translating ExactValue to TypicalLowerBoundary |
|
316 |
// TODO this is only a quick temporary solution which should be sofisticated |
|
317 |
$stat_vals_arr['TypicalLowerBoundary'] = $stat_vals_arr['ExactValue']; |
|
318 |
unset($stat_vals_arr['ExactValue']); |
|
319 |
} |
|
320 |
|
|
312 | 321 |
// --- sanitize values |
313 | 322 |
if(statistical_values_num_equals($stat_vals_arr, 'Min', 'TypicalLowerBoundary')){ |
314 | 323 |
$stat_vals_arr['Min'] = NULL; |
Also available in: Unified diff
ref #8945 preliminar support for statistical value type ExactValue