# HG changeset patch # User greg # Date 1731782042 0 # Node ID 05920a4bd5b6a5538b009b5c68bd67e419c23850 # Parent aaa6ae7c64deb1f0994e05ff131c711c76af7d0b Uploaded diff -r aaa6ae7c64de -r 05920a4bd5b6 ensure_synced.py --- 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 = []