IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 15, 2013, 5:53:39 AM (14 years ago)
Author:
eugene
Message:

added some comments, clarified others

File:
1 edited

Legend:

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

    r34902 r34926  
    8989       #self.endY = 8
    9090
    91        # get a fre primary header values. if in test mode, then use defaults
     91       # get a few primary header values. if in test mode, then use defaults
    9292       if self.safeDictionaryAccessWithDefault(self.header, 'MJD-OBS', "1") == "NULL":
    9393           self.logger.errorPair("Could not get", "MJD-OBS")
     
    234234        except: pass
    235235
    236         # insert all detections into table
     236        # insert image metadata into table
    237237        sql = "INSERT INTO " + tableName + " ( \
    238238               frameID \
     
    386386        except: pass
    387387       
    388         # delete all detections with PSF_INST_MAG < 17.5, as decreed by Gene
     388        # delete all detections with PSF_INST_MAG < -17.5, as decreed by Gene
    389389        BEFORE = self.scratchDb.getRowCount(ippTableName)
    390390        #don't do this anymore
Note: See TracChangeset for help on using the changeset viewer.