IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27799


Ignore:
Timestamp:
Apr 28, 2010, 3:32:34 PM (16 years ago)
Author:
rhenders
Message:

Getting dist_group for single exposure case

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippToPsps/scripts/ippToPsps_run.pl

    r27729 r27799  
    128128            WHERE camRun.chip_id = chipRun.chip_id
    129129            AND chipRun.exp_id = rawExp.exp_id
    130             AND camRun.label like '%$label%'
     130            AND camRun.label LIKE '%$label%'
    131131            ORDER BY rawExp.exp_id ASC
    132132SQL
     133            #AND rawExp.exp_id > 136561
    133134            #AND camRun.dist_group LIKE 'sas'
    134135            #AND rawExp.decl >= '-0.157079633' AND rawExp.decl <= '0.157079633' Jims Dec range
     
    138139        $query = $db->prepare(<<SQL);
    139140
    140         SELECT DISTINCT exp_id FROM rawExp WHERE rawExp.exp_id = $singleExpId
     141        SELECT DISTINCT rawExp.exp_id, dist_group FROM rawExp, chipRun WHERE chipRun.exp_id = rawExp.exp_id AND rawExp.exp_id = $singleExpId
    141142SQL
    142143    }
     
    176177        my $batchOutputPath = sprintf("$jobOutputPath/%s", $batchDir);
    177178
    178         print "* Preparing exposure as job '$job'...\n";
     179        print "* Preparing exposure $expId as job '$job'...\n";
    179180
    180181        # make directories
Note: See TracChangeset for help on using the changeset viewer.