IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 26, 2011, 3:27:44 PM (15 years ago)
Author:
watersc1
Message:

typo fix to remove warning in log output. Wildcard label to allow SAS2.12 and SAS2.123 to play together. I'll need to come up with a better solution than this. Perhaps we don't need to select the label anyway, since we're directly supplying a warp list?

File:
1 edited

Legend:

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

    r31922 r31939  
    581581        if ($needs_qstack < $total_exposures * $qstack_threshold) { # Drop any exposures that are requiring the qstack
    582582            print "STATUS: Insufficient unpaired exposures to justify quickstack.  Dropping unpaired exposures\n";
    583             foreach $exposure (@lonely_exposures) {
     583            foreach my $exposure (@lonely_exposures) {
    584584                $exposure->{data_state} = 'drop';
    585585                &update_this_exposure($exposure);
     
    640640    my $warps = '';
    641641    foreach $exposure (@$exposures) {
    642         if (($exposure->{data_state} != 'drop')&&
     642        if (($exposure->{data_state} ne 'drop')&&
    643643            (S64_IS_NOT_NULL($exposure->{warp_id}))) {
    644644            $warps .= " -warp_id $exposure->{warp_id} ";
     
    657657    $command .= " -pretend " if defined $debug;
    658658    $command .= " -dbname $dbname " if defined $dbname;
    659     $command .= " -definebyquery -select_label $label -select_skycell_id ${proj_cell}.% -select_filter $filter ";
     659    $command .= " -definebyquery -select_label ${label}% -select_skycell_id ${proj_cell}.% -select_filter $filter ";
    660660    $command .= " -set_label ${label} -set_data_group $data_group ";
    661661    $command .= "  -set_workdir $workdir  -set_dist_group NODIST ";
     
    719719    my $warps = '';
    720720    foreach $exposure (@$exposures) {
    721         if (($exposure->{data_state} != 'drop')&&
     721        if (($exposure->{data_state} ne 'drop')&&
    722722            (S64_IS_NOT_NULL($exposure->{magicked}))&&
    723723            (S64_IS_NOT_NULL($exposure->{warp_id}))) {
     
    737737    $command .= " -pretend " if defined $debug;
    738738    $command .= " -dbname $dbname " if defined $dbname;
    739     $command .= " -definebyquery -select_label $label -select_skycell_id ${proj_cell}.% -select_filter $filter ";
     739    $command .= " -definebyquery -select_label ${label}% -select_skycell_id ${proj_cell}.% -select_filter $filter ";
    740740    $command .= " -set_label ${label} -set_workdir $workdir -set_data_group $data_group ";
    741741    $command .= " -min_num 2 -set_reduction THREEPI_STACK -set_dist_group $exposure->{dist_group} ";
Note: See TracChangeset for help on using the changeset viewer.