aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-17 10:27:48 +0300
committerFrederick Muriuki Muriithi2023-07-17 10:27:48 +0300
commit82e44755eab2d129cdf766ba5d82e80d738add90 (patch)
tree7ec58aeed6b737da659bdf6ba8529b98d856fadd
parente926411480c69c0c420fd3c781664120bfd8e21b (diff)
downloadgenenetwork3-82e44755eab2d129cdf766ba5d82e80d738add90.tar.gz
Fix dict key name
Remove extra colon (:) at the end of the name that was leading to the number of cases not being presented as expected.
-rw-r--r--gn3/db/sample_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/sample_data.py b/gn3/db/sample_data.py
index 140e62e..92032d6 100644
--- a/gn3/db/sample_data.py
+++ b/gn3/db/sample_data.py
@@ -77,7 +77,7 @@ ORDER BY st.Name""", (trait_name, phenotype_id))
sample_data[sample] = {
'value': value,
'error': error,
- 'n_cases:': n_cases
+ 'n_cases': n_cases
}
return sample_data