IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 19162


Ignore:
Timestamp:
Aug 21, 2008, 5:32:12 PM (18 years ago)
Author:
bills
Message:

fix incorrect check for mask stamp
remove some dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstampparse.pl

    r18985 r19162  
    152152    # trash the request.
    153153    die "job_type is list_uri but mode is $mode" if ($job_type eq "list_uri") and ($mode ne "list_uri");
    154 
    155 
    156154    my ($image_db, $lookup_class_id, $camera, $magic_required ) = resolve_project($project, $img_type, $class_id);
    157155
     
    242240            }
    243241
    244             if ($option_mask & $PSTAMP_SELECT_IMAGE) {
     242            if ($option_mask & $PSTAMP_SELECT_MASK) {
    245243                $args .= " -mask $image->{mask}";
    246244            }
     
    255253            #}
    256254
    257 
    258255            # XXX: TODO: here is where we need to check whether or not the source inputs still exist
    259256            # and if not, queue a regeneration job and set the job state appropriately.
    260 
    261 
    262 #            # XXX TEMPORARY HACK won't work in general don't commit this
    263 #            if (($img_type eq "chip") && ($image_db eq "gpc1")) {
    264 #                my $astrom = $uri;
    265 #                $astrom =~ s/.ch.fits/.smf/;
    266 #                if ( -e $astrom ) {
    267 #                    $astrom_args .= " -astrom $astrom";
    268 #                }
    269 #            }
    270257
    271258            my $command = "$pstamptool -addjob -req_id $req_id -job_type $job_type"
     
    326313        $ret_magic = 0;
    327314    } elsif ($project_name eq "simtest") {
    328         $ret_dbname = "simtest";
     315        $ret_dbname = "ps_simtest";
    329316        $ret_class_id = "null";
    330317        $ret_camera = "SIMTEST";
Note: See TracChangeset for help on using the changeset viewer.