IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28871


Ignore:
Timestamp:
Aug 9, 2010, 4:19:55 PM (16 years ago)
Author:
rhenders
Message:

Min and max object IDs now default to -1 if not suplied (eg for IN batch)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/perl/ippToPsps/IppToPspsDb.pm

    r28850 r28871  
    5959    my ($self, $batchId, $expId, $processed, $published, $totalDetections, $minObjId, $maxObjId) = @_;
    6060
     61    if (!$minObjId) {$minObjId = -1;}
     62    if (!$maxObjId) {$maxObjId = -1;}
     63
    6164if (!$totalDetections) {$totalDetections = -1;}
    6265
     
    6770          on_datastore = $published,
    6871          total_detections = $totalDetections,
    69           min_obj_id =  $minObjId,
    70           max_obj_id =  $maxObjId
     72          min_obj_id = $minObjId,
     73          max_obj_id = $maxObjId
    7174        WHERE batch_id = $batchId
    7275        AND exp_id = $expId;
Note: See TracChangeset for help on using the changeset viewer.