Exemplo n.º 1
0
    def __init__(self):
        self.db = DBHelper()
        self.dc = datachecker()
        self.sb = submitter()
        self.dd = data_drawer()
        self.sg = segger()
        self.id = indexer()
        self.pc = prechecker()

        self.dmg_on = DMG_ON
        self.test_on = TEST_ON
        if len(sys.argv) < 4:
            self.table_old = "refined_info"
            self.db_old = DB_1
            self.table_new = "extracted_info"
            self.db_new = DB_1
        else:
            self.table_old = sys.argv[1]
            self.db_old = sys.argv[2]
            self.table_new = sys.argv[3]
            self.db_new = sys.argv[4]
Exemplo n.º 2
0
 def setUp(self):
     self.sb = submitter()
     self.dd = data_drawer()
     self.db = DBHelper()
     self.samples =self.db.get_results_by_clms(columns='*',table=
                             'samples',database=DB_test,isdict=True)