changeset 9:53b1163ce9c0 draft default tip

Uploaded
author greg
date Mon, 25 Nov 2024 15:10:47 +0000
parents e3d8b5bfdc11
children
files update_stag_database.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/update_stag_database.py	Thu Jul 15 20:34:30 2021 +0000
+++ b/update_stag_database.py	Mon Nov 25 15:10:47 2024 +0000
@@ -14,12 +14,10 @@
 
 from six.moves import configparser
 
-from sqlalchemy import MetaData
 from sqlalchemy import create_engine
 from sqlalchemy.engine.url import make_url
 
 now = datetime.datetime.utcnow
-metadata = MetaData()
 
 DEFAULT_MISSING_NUMERIC_VALUE = -9.000000
 
@@ -159,7 +157,6 @@
         self.outfh = open(self.args.output, "w")
         self.connect_db()
         self.engine = create_engine(self.args.database_connection_string)
-        self.metadata = MetaData(self.engine)
         self.affy_ids = []
         self.allele_ids = []
         self.colony_ids = []