aboutsummaryrefslogtreecommitdiff
path: root/gn3/db/traits.py
diff options
context:
space:
mode:
authorMuriithi Frederick Muriuki2021-11-29 14:09:32 +0300
committerGitHub2021-11-29 14:09:32 +0300
commit5d2248f1dabbc7dd04f48aafcc9f327817a9c92c (patch)
tree0f3de09b74a3f47918dd4a192665c8a06c508144 /gn3/db/traits.py
parent4c3863a6fd5d1864c135bddfe02d06c98a19ca18 (diff)
parenta1516993c7f6dc608f75ba42cb27b983e0c5c330 (diff)
downloadgenenetwork3-5d2248f1dabbc7dd04f48aafcc9f327817a9c92c.tar.gz
Merge branch 'main' into partial-correlations
Diffstat (limited to 'gn3/db/traits.py')
-rw-r--r--gn3/db/traits.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn3/db/traits.py b/gn3/db/traits.py
index d4a96f0..4098b08 100644
--- a/gn3/db/traits.py
+++ b/gn3/db/traits.py
@@ -1,5 +1,6 @@
"""This class contains functions relating to trait data manipulation"""
import os
+import MySQLdb
from functools import reduce
from typing import Any, Dict, Union, Sequence
@@ -110,6 +111,7 @@ def get_trait_csv_sample_data(conn: Any,
def update_sample_data(conn: Any, #pylint: disable=[R0913]
+
trait_name: str,
strain_name: str,
phenotype_id: int,