aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2022-08-04 04:58:54 +0300
committerFrederick Muriuki Muriithi2022-08-04 04:58:54 +0300
commit95588719a261f39897783ce4031c083b9f5e796b (patch)
treebe24360788f329c047794f5cb9cb12a2736d3fab
parentf895288441953ea1f52095ff421429d377cd37a1 (diff)
downloadgn-uploader-95588719a261f39897783ce4031c083b9f5e796b.tar.gz
Fix typo: 'species' -> 'speciesid'
-rw-r--r--qc_app/dbinsert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qc_app/dbinsert.py b/qc_app/dbinsert.py
index eee7a56..0b87c20 100644
--- a/qc_app/dbinsert.py
+++ b/qc_app/dbinsert.py
@@ -60,7 +60,7 @@ def genechips():
speciesid = chip["SpeciesId"]
if acc.get(speciesid) is None:
return {**acc, speciesid: (chip,)}
- return {**acc, species: acc[speciesid] + (chip,)}
+ return {**acc, speciesid: acc[speciesid] + (chip,)}
with database_connection() as conn:
with conn.cursor(cursorclass=DictCursor) as cursor: