Skip to content
Snippets Groups Projects
Commit edef0215 authored by nfontrod's avatar nfontrod
Browse files

src/nt_composition/make_nt_correlation.py: fix get_select_addition function

parent 8ffc7696
No related branches found
No related tags found
No related merge requests found
......@@ -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 ''
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment