IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 33097


Ignore:
Timestamp:
Jan 11, 2012, 4:04:25 PM (15 years ago)
Author:
bills
Message:

fix get image jobs for raw stage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20111222/pstamp/scripts/pstamp_get_image_job.pl

    r33057 r33097  
    7575my $stage_id = $comp->{stage_id};
    7676my $component = $comp->{component};
    77 my $path_base = $comp->{path_base};
    7877my $camera = $comp->{camera};
    7978my $magicked = $comp->{magicked};
     79my $path_base = $comp->{path_base};
     80if (!$path_base and $stage eq 'raw') {
     81    my $uri = $comp->{uri};
     82    $uri =~ s/\.fits//g;
     83    $path_base = $uri;
     84}
    8085
    8186if ($verbose) {
    8287    print STDERR "\nstage is $stage\n";
    8388    print STDERR "stage_id is $stage_id\n";
    84     print STDERR "path_base is $path_base\n";
    8589    print STDERR "path_base is $path_base\n";
    8690    print STDERR "CAMERA is $camera\n";
Note: See TracChangeset for help on using the changeset viewer.