IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 30664


Ignore:
Timestamp:
Feb 17, 2011, 9:51:56 AM (15 years ago)
Author:
bills
Message:

adapt pstamp_get_image_job.pl to the changes in dist_bundle.pl

File:
1 edited

Legend:

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

    r29561 r30664  
    8787}
    8888
    89 my $outdir = dirname($output_base);
    90 my $prefix = basename($output_base) . "_";
    91 my $results_file = $output_base . ".bundle_results";
    9289
    9390# Look for programs we need
     
    9996}
    10097
     98my $outdir = dirname($output_base);
     99my $basename = basename($path_base);
     100my $outroot = $output_base ."_" . $basename;
     101my $results_file = $output_base . ".bundle_results";
     102
    101103{
    102104    my $command = "$dist_bundle --camera $camera --stage $stage --stage_id $stage_id";
    103     $command .= " --component $component";
    104     $command .= " --path_base $path_base --outdir $outdir --results_file $results_file";
    105     $command .= " --prefix $prefix";
     105    $command .= " --results_file $results_file";
     106    $command .= " --component $component --path_base $path_base --outroot $outroot";
     107#    XXX: we need to do some work if we want to support muggle bundles
     108#    $command .= " --no_magic if $no_magic";
    106109    $command .= " --magicked" if $magicked;
    107     # DANGER DANGER do not commit next line
    108 #    $command .= " --no_magic";
    109     # DANGER DANGER do not commit last line
    110110    $command .= " --dbname $dbname" if $dbname;
    111111    $command .= " --verbose" if $verbose;
Note: See TracChangeset for help on using the changeset viewer.