diff options
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/ctl/gn3_ctl_analysis.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/wqflask/wqflask/ctl/gn3_ctl_analysis.py b/wqflask/wqflask/ctl/gn3_ctl_analysis.py index 033b7704..f2873ac0 100644 --- a/wqflask/wqflask/ctl/gn3_ctl_analysis.py +++ b/wqflask/wqflask/ctl/gn3_ctl_analysis.py @@ -20,7 +20,13 @@ def process_significance_data(significant_data): for col in col_names: for (index, col_data) in enumerate(significant_data[col]): - dataset_rows[index].append(col_data) + + if col in ["dcor", "LOD"]: + + dataset_rows[index].append(round(col_data, 2)) + else: + + dataset_rows[index].append(col_data) return { "col_names": col_names, |