IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34631 for trunk


Ignore:
Timestamp:
Oct 31, 2012, 12:50:01 PM (14 years ago)
Author:
bills
Message:

rename column dec_ to dec

Location:
trunk/ippToPsps/jython
Files:
2 edited

Legend:

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

    r34630 r34631  
    648648            if not self.getIDsFromDVO(): return False
    649649
     650        # dec is reserved in MySQL, so STILTS replaces if with dec_, which is not the name of
     651        # the column in PSPS
     652        self.scratchDb.execute("ALTER TABLE DetectionCalib CHANGE dec_ `dec` double")
     653
     654
     655
    650656        return True
    651657
  • trunk/ippToPsps/jython/stackbatch.py

    r34630 r34631  
    664664        self.scratchDb.createIndex("StackModelFit", "ippDetectID")
    665665
     666        # dec is reserved in MySQL, so STILTS replaces if with dec_, which is not the name of
     667        # the column in PSPS
     668        self.scratchDb.execute("ALTER TABLE StackDetectionCalib CHANGE dec_ `dec` double")
     669
     670
     671
    666672        return True
    667673
Note: See TracChangeset for help on using the changeset viewer.