IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 23874


Ignore:
Timestamp:
Apr 15, 2009, 10:00:58 AM (17 years ago)
Author:
bills
Message:

add --clean argument to dist_advancerun.pl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/dist_advancerun.pl

    r23861 r23874  
    2828
    2929# Parse the command-line arguments
    30 my ($dist_id, $stage, $stage_id, $outdir);
     30my ($dist_id, $stage, $stage_id, $outdir, $clean);
    3131my ($dbname, $save_temps, $verbose, $no_update, $no_op, $logfile);
    3232
     
    3535           'stage=s'        => \$stage,      # raw, chip, warp, or diff
    3636           'stage_id=s'     => \$stage_id,   # exp_id, chip_id, warp_id, or diff_id
    37            'outdir=s'       => \$outdir,    # "directory" for outputs
     37           'clean'          => \$clean,      # exporting a clean run
     38           'outdir=s'       => \$outdir,     # "directory" for outputs
    3839           'save-temps'     => \$save_temps, # Save temporary files?
    3940           'dbname=s'       => \$dbname,     # Database name
     
    9495{
    9596    my $command = "$tool_cmd $stage_id -exportrun -outfile $outfile";
     97    $command .= " -clean" if defined $clean;
    9698    $command .= " -dbname $dbname" if defined $dbname;
    9799
Note: See TracChangeset for help on using the changeset viewer.