IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 38891


Ignore:
Timestamp:
Oct 20, 2015, 2:17:07 PM (11 years ago)
Author:
eugene
Message:

forced warp files end in .cmf

Location:
trunk/ippToPsps/jython
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/jython/gpc1db.py

    r38358 r38891  
    285285              AND stage_id = " + str(stageID)
    286286
    287         try:
    288             rs = self.executeQuery(sql)
    289         except:
    290             self.logger.exception("Can't query for addIDs using :" + sql )
     287        rs = self.executeQuery(sql)
    291288
    292289        addIDs = []
     
    306303    def getListOfDiffSkyFileIdsForDiffBatch(self, dvoDb, stageID):
    307304
    308         self.logger.debug("Querying GPC1 for add IDs for ff_id: " + str(stageID))
     305        self.logger.debug("Querying GPC1 for add IDs for diff_id: " + str(stageID))
    309306        stage = "diff"
    310307        sql = "SELECT diff_skyfile_id \
     
    490487              join fullForceResult using (ff_id, warp_id) \
    491488              where add_id = %d" % forcedWarpID
     489
    492490        try:
    493491            rs = self.executeQuery(sql)
     
    506504        files = []
    507505        if pathBase.startswith("neb"):
    508        
    509506            f=os.popen("neb-ls -p " + pathBase + ".cmf")
    510507            for i in f.readlines():
    511        
    512508                files.append(i.rstrip())
    513        
     509
     510        else:
     511            files = glob.glob(pathBase + ".cmf")
     512
    514513       
    515514        if len(files) < 1: return None
  • trunk/ippToPsps/jython/ippjytest

    r37246 r38891  
    2020setenv IPPTOPSPS_DATA $datadir/ipptopsps
    2121
    22 # XXX install jython in JARDIR
    23 set JYTHON = $JARDIR/jython2.5.3b1/jython.jar
    24 # set JYTHON = ~/jython2.5.3b1/jython.jar
    25 #set JYTHON = $JARDIR/jython.jar
     22# both jython.jar and Lib from jython2.5.3b1 must be installed in JARDIR
     23set JYTHON = $JARDIR/jython.jar
    2624
    2725if (! -r $JYTHON) then
  • trunk/ippToPsps/jython/ipptopspsdb.py

    r38837 r38891  
    16271627               AND skychunk = '" + self.skychunk.name + "'"
    16281628
     1629        print "--- sql: " + sql
    16291630        self.execute(sql)
    16301631
  • trunk/ippToPsps/jython/stackbatch.py

    r38880 r38891  
    13611361           
    13621362            for table in tables:
    1363              
    13641363                match = re.match(tableRE, table.name)
    13651364                if not match: continue
Note: See TracChangeset for help on using the changeset viewer.