IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31974


Ignore:
Timestamp:
Aug 2, 2011, 3:49:52 PM (15 years ago)
Author:
rhenders
Message:

no longer using defaults for SOURCEID and IMAGEID if missing

File:
1 edited

Legend:

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

    r31965 r31974  
    611611
    612612                # check we have valid sourceID/imageID pair from the header
    613                 if self.safeDictionaryAccessWithDefault(header, 'SOURCEID', "0") == "NULL":
     613                if self.safeDictionaryAccess(header, 'SOURCEID') == "NULL":
    614614                    continue
    615                 if self.safeDictionaryAccessWithDefault(header, 'IMAGEID', "0") == "NULL":
     615                if self.safeDictionaryAccess(header, 'IMAGEID') == "NULL":
    616616                    continue
    617617
Note: See TracChangeset for help on using the changeset viewer.