IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27854


Ignore:
Timestamp:
May 4, 2010, 10:02:43 AM (16 years ago)
Author:
bills
Message:

hard wire need_magic because the update process requires it

File:
1 edited

Legend:

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

    r27795 r27854  
    383383        }
    384384    }
     385
     386    $need_magic = 0 if $stage eq 'stack';
    385387   
    386388    my $numRows = scalar @$rowList;
     
    882884    my ($r_jobState, $r_fault, $r_dep_id, $imagedb, $state, $stage, $stage_id, $component, $need_magic) = @_;
    883885
     886    # XXX: The update process for warp and subsequent stages requires
     887    # destreaking to run otherwise things don't get output by the -pending
     888    # queries.
     889    $need_magic = 1;
     890
    884891    if (($state ne 'cleaned') and ($state ne 'update') and ($state ne 'goto_cleaned')) {
    885892        my_die("$stage $stage_id is in unexpected state $state", $PS_EXIT_PROG_ERROR);
     
    887894
    888895    my $dep_id;
    889     my $command = "$pstamptool -getdependent -stage $stage -stage_id $stage_id -imagedb $imagedb -component $component";
     896    my $command = "$pstamptool -getdependent -stage $stage -stage_id $stage_id -imagedb $imagedb -component $component -outdir $out_dir";
    890897    $command .= " -need_magic" if $need_magic;
    891898
Note: See TracChangeset for help on using the changeset viewer.