diff --git a/src/nt_composition/make_nt_correlation.py b/src/nt_composition/make_nt_correlation.py index df1de4f222ef6cdd34bdecef509ea189e9a1d0c8..d0e13294736fa23602662a16813b9d4025c92771 100644 --- a/src/nt_composition/make_nt_correlation.py +++ b/src/nt_composition/make_nt_correlation.py @@ -49,9 +49,9 @@ def get_select_addition(global_weight: int, get_weight: bool, same_gene: bool): elif global_weight == 0 and not same_gene: return ', t1.weight' elif global_weight >= 0 and same_gene: - return ', AVG(weight)' + return ', ROUND(AVG(weight), 2)' elif global_weight >= 0 and not same_gene: - return ', AVG(t1.weight)' + return ', ROUND(AVG(t1.weight), 2)' return ''