IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25323 for trunk


Ignore:
Timestamp:
Sep 10, 2009, 12:07:49 PM (17 years ago)
Author:
bills
Message:

for raw images set path_base to a reasonable value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/PS-IPP-PStamp/lib/PS/IPP/PStamp/Job.pm

    r25283 r25323  
    2121
    2222use IPC::Cmd 0.36 qw( can_run run );
    23 
    2423use PS::IPP::Metadata::List qw( parse_md_list );
    2524use PS::IPP::Config qw( :standard );
     
    234233            # just above probably solved the problem I was trying to solve with this test)
    235234            next if !$base;
     235        } else {
     236            # raw images don't have path_base yet. Manufacture one
     237            my $uri = $image->{uri};
     238            my $path_base = $uri =~ s/\.fits//g;
     239            $image->{$path_base} = $path_base;
    236240        }
    237241        if (!$camera) {
Note: See TracChangeset for help on using the changeset viewer.