IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34990


Ignore:
Timestamp:
Jan 19, 2013, 6:55:58 AM (14 years ago)
Author:
eugene
Message:

select init tables from config dir; create dvo tables on setup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20121219/ippToPsps/jython/setupScratchDb.py

    r34953 r34990  
    4242        # install IN tables
    4343        self.logger.infoPair("Installing", "initialization tables")
    44         tables = stilts.treads("../config/IN/tables.vot")
     44        if self.configDir is None:
     45            tables = stilts.treads("../config/tables.IN.vot")
     46        else:
     47            tablepath = self.configDir + "tables.IN.vot"
     48            tables = stilts.treads(tablepath)
     49
    4550        for table in tables:
    4651            # EAM TEST I/O
     
    4853            self.logger.debug("Creating IN table: " + table.name)
    4954            table.write(self.scratchDb.url + '#' + table.name)
     55
     56        # create basic DVO tables
     57        self.logger.infoPair("Installing", "initialization tables")
     58        self.scratchDb.createDvoTables()
    5059
    5160    '''
Note: See TracChangeset for help on using the changeset viewer.