IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34590


Ignore:
Timestamp:
Oct 25, 2012, 11:09:21 AM (14 years ago)
Author:
bills
Message:

allow changing of outroot (for testing)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/runwarpskycell.pl

    r33923 r34590  
    1616
    1717my $dbname = "gpc1";
    18 my ($warp_id, $skycell_id, $threads, $update, $redirect, $pretend, $save_temps);
     18my ($warp_id, $skycell_id, $threads, $update, $redirect, $pretend, $save_temps, $outdir);
    1919my $zaplog;
    2020
     
    2626    'zaplog'            => \$zaplog,
    2727    'redirect-output'   => \$redirect,
     28    'outdir=s'          => \$outdir,
    2829    'update'            => \$update,
    2930    'dbname=s'          => \$dbname,
     
    7475} else {
    7576    die "unexpected warpRun.state found: $state\n";
     77}
     78
     79if ($outdir) {
     80    my $base = basename($path_base);
     81    $path_base = "$outdir/$base";
     82    print "changing path_base to $path_base\n";
    7683}
    7784
Note: See TracChangeset for help on using the changeset viewer.