aboutsummaryrefslogtreecommitdiff
path: root/uploader/phenotypes/models.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-01-25 07:51:04 -0600
committerFrederick Muriuki Muriithi2025-01-25 07:51:04 -0600
commite913bf1ee8ba2bbe19c064ec7d658e94036117e4 (patch)
tree14cfa75910fa73237f2c5c55d8bca9755df9d704 /uploader/phenotypes/models.py
parent16e5241b2225ee84e31625a2b1b806a60472252f (diff)
downloadgn-uploader-e913bf1ee8ba2bbe19c064ec7d658e94036117e4.tar.gz
Add the "StrainId" field to phenotype data rows.
Diffstat (limited to 'uploader/phenotypes/models.py')
-rw-r--r--uploader/phenotypes/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/uploader/phenotypes/models.py b/uploader/phenotypes/models.py
index 73b1cce..2765d1e 100644
--- a/uploader/phenotypes/models.py
+++ b/uploader/phenotypes/models.py
@@ -117,6 +117,7 @@ def __organise_by_phenotype__(pheno, row):
**(_pheno["data"] if bool(_pheno) else {}),
(row["DataId"], row["StrainId"]): {
"DataId": row["DataId"],
+ "StrainId": row["StrainId"],
"mean": row["mean"],
"Locus": row["Locus"],
"LRS": row["LRS"],