From de16143e8574a811fac5b7988145fffd9db19d2c Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 2 Mar 2022 15:43:00 +0300 Subject: Remove dead code --- gn3/db/sample_data.py | 3 --- 1 file changed, 3 deletions(-) (limited to 'gn3/db') 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 " -- cgit v1.2.3