aboutsummaryrefslogtreecommitdiff
path: root/gn3/db
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-07-26 15:51:06 +0300
committerFrederick Muriuki Muriithi2023-07-26 15:51:06 +0300
commit58f4b3dfd10d6166f4fc58071bdb8f1febb06392 (patch)
treec8d55a75596bbe5709b20e8e27a9de303f2138eb /gn3/db
parent0a4294777c4b3942c2a6dd3b39beef07b518d859 (diff)
downloadgenenetwork3-58f4b3dfd10d6166f4fc58071bdb8f1febb06392.tar.gz
Fix variable name.
Diffstat (limited to 'gn3/db')
-rw-r--r--gn3/db/metadata_audit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gn3/db/metadata_audit.py b/gn3/db/metadata_audit.py
index 697762e..62f8b74 100644
--- a/gn3/db/metadata_audit.py
+++ b/gn3/db/metadata_audit.py
@@ -62,7 +62,7 @@ def fetch_phenotype_metadata_audit_by_dataset_id(conn, dataset_id) -> tuple[dict
def fetch_probeset_metadata_audit_by_trait_name(conn, trait_name) -> tuple[dict, ...]:
"""Fetch a probeset metadata audit trail by `dataset_id`."""
- assert bool(dataset_id), "`dataset_id` MUST be provided."
+ assert bool(trait_name), "`trait_name` MUST be provided."
with conn.cursor(cursorclass=DictCursor) as cursor:
cursor.execute(
"SELECT ma.* "