IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 14, 2009, 5:01:49 PM (17 years ago)
Author:
Paul Price
Message:

Fixing bugs found when testing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_serial_mops.pl

    r24190 r24191  
    8989    JOIN diffInputSkyfile USING(diff_id)
    9090    WHERE diffInputSkyfile.warp1 IS NOT NULL
     91        AND diffRun.state = 'full'
    9192        AND diffRun.exposure = 1
    9293        $where_label
     
    100101    JOIN diffInputSkyfile USING(diff_id)
    101102    WHERE diffInputSkyfile.warp2 IS NOT NULL
     103        AND diffRun.state = 'full'
    102104        AND diffRun.exposure = 1
    103105        AND diffRun.bothways = 1
     
    108110JOIN camRun USING(cam_id)
    109111JOIN chipRun USING(chip_id)
    110 WHERE diffRun.state = 'full'
    111     AND rawExp.camera = '$camera'
     112JOIN rawExp USING(exp_id)
     113WHERE rawExp.camera = '$camera'
    112114GROUP BY exp_id;";
    113115
     
    129131
    130132    foreach my $skycell ( @$skycells ) {
    131         my $skycell_id = $diff->{skycell_id};
    132         my $path_base = $diff->{path_base};
     133        my $skycell_id = $skycell->{skycell_id};
     134        my $path_base = $skycell->{path_base};
    133135
    134136        my $sources = $inverse ? "PPSUB.INVERSE.SOURCES" : "PPSUB.OUTPUT.SOURCES";
Note: See TracChangeset for help on using the changeset viewer.