aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: