diff --git a/python/lsst/consdb/pqserver.py b/python/lsst/consdb/pqserver.py index 020db513..a893ec8c 100644 --- a/python/lsst/consdb/pqserver.py +++ b/python/lsst/consdb/pqserver.py @@ -318,11 +318,8 @@ def compute_wide_view_name(self, instrument: str, obs_type: str) -> str: return view_name -if __name__ == "__main__": - engine = setup_postgres() - instrument_tables = InstrumentTables() -else: - instrument_tables = None +engine = setup_postgres() +instrument_tables = InstrumentTables() ##################