diff options
author | Frederick Muriuki Muriithi | 2023-07-26 15:51:06 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-07-26 15:51:06 +0300 |
commit | 58f4b3dfd10d6166f4fc58071bdb8f1febb06392 (patch) | |
tree | c8d55a75596bbe5709b20e8e27a9de303f2138eb /gn3/db | |
parent | 0a4294777c4b3942c2a6dd3b39beef07b518d859 (diff) | |
download | genenetwork3-58f4b3dfd10d6166f4fc58071bdb8f1febb06392.tar.gz |
Fix variable name.
Diffstat (limited to 'gn3/db')
-rw-r--r-- | gn3/db/metadata_audit.py | 2 |
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.* " |