IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24457


Ignore:
Timestamp:
Jun 16, 2009, 9:28:20 PM (17 years ago)
Author:
Paul Price
Message:

Updates to make it work.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_mops/ippScripts/scripts/publish_file.pl

    r24452 r24457  
    7070    &my_die( "Unable to set up", $pub_id, $PS_EXIT_CONFIG_ERROR ); # IPP configuration
    7171
     72$ipprc->outroot_prepare( $outroot );
     73
    7274my $mdcParser = PS::IPP::Metadata::Config->new;
    7375
     
    123125foreach my $comp ( keys %files ) {
    124126    my $file = $ipprc->file_resolve( $files{$comp} ) or
    125         &my_die("Unable to resolve file $files{$comp}", $pub_id, $PS_EXIT_PROG_ERROR);
     127        &my_die("Unable to resolve file $files{$comp}", $pub_id, $PS_EXIT_SYS_ERROR);
    126128    my_die("Unable to find file $file", $pub_id, $PS_EXIT_PROG_ERROR) unless $ipprc->file_exists( $file );
    127129
    128130    my $zp = $zp{$comp};
    129131    if ($product eq "IPP-MOPS") {
    130         my $out = "$outroot.$comp.fits";
    131 
     132        my $out = $ipprc->file_resolve( "$outroot.$comp.fits" );
    132133        my $command = "$ppMops $file $zp $out";
    133134        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
     
    145146
    146147unless ($no_update) {
    147     my $command = "$dsreg --add $stage.$stage_id --product $product --type $product --list $listFileName";
     148    my $command = "$dsreg --add $stage.$stage_id --copy --abspath --product $product --type $product --list $listFileName";
    148149
    149150    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.