changeset 9:05920a4bd5b6 draft default tip

Uploaded
author greg
date Sat, 16 Nov 2024 18:34:02 +0000
parents aaa6ae7c64de
children
files ensure_synced.py
diffstat 1 files changed, 0 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ensure_synced.py	Tue Jan 25 14:24:54 2022 +0000
+++ b/ensure_synced.py	Sat Nov 16 18:34:02 2024 +0000
@@ -5,11 +5,8 @@
 
 import psycopg2
 from sqlalchemy import create_engine
-from sqlalchemy import MetaData
 from sqlalchemy.engine.url import make_url
 
-metadata = MetaData()
-
 SKIP_VALS = ['#CHROM', 'POS', 'ID', 'REF', 'ALT', 'QUAL', 'FILTER', 'INFO', 'FORMAT']
 
 
@@ -21,7 +18,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.coral_mlg_rep_sample_ids_from_db = []
         self.affy_ids_from_file = []