aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2022-03-02 15:43:00 +0300
committerBonfaceKilz2022-03-12 15:33:09 +0300
commitde16143e8574a811fac5b7988145fffd9db19d2c (patch)
tree8d9c3505fa1d352a1fbbb77060f944588611d715
parent5a20d1a42990dc97c47ed4e7da286494693a7a05 (diff)
downloadgenenetwork3-de16143e8574a811fac5b7988145fffd9db19d2c.tar.gz
Remove dead code
-rw-r--r--gn3/db/sample_data.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/gn3/db/sample_data.py b/gn3/db/sample_data.py
index 7aacdc1..af6452a 100644
--- a/gn3/db/sample_data.py
+++ b/gn3/db/sample_data.py
@@ -254,9 +254,6 @@ def insert_sample_data(conn: Any, # pylint: disable=[R0913]
"PublishSE": "(StrainId, DataId, error)",
"NStrain": "(StrainId, DataId, count)",
}
- _query = (f"INSERT INTO {table} "
- f"{_map.get(table)} "
- f"VALUES %s %s %s")
with conn.cursor() as cursor:
cursor.execute(
"SELECT Id FROM PublishData where Id = %s "