IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 30, 2011, 9:36:02 AM (15 years ago)
Author:
eugene
Message:

merging changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/ippScripts/scripts/dist_component.pl

    r30489 r31083  
    3737# Parse the command-line arguments
    3838my ($dist_id, $camera, $stage, $stage_id, $component, $path_base, $chip_path_base, $clean, $alt_path_base);
    39 my ($outdir, $run_state, $data_state, $magicked, $no_magic, $poor_quality);
     39my ($outdir, $run_state, $data_state, $magicked, $no_magic, $poor_quality, $exp_type);
    4040my ($dbname, $save_temps, $verbose, $no_update, $logfile);
    4141
     
    5353           'no_magic'       => \$no_magic,   # magic is not required for this distribution run
    5454           'magicked'       => \$magicked,   # magicked state for this component
     55           'exp_type=s'     => \$exp_type,
    5556           'alt_path_base=s'=> \$alt_path_base,  # path to alternate inputs
    5657           'outdir=s'       => \$outdir,     # "directory" for outputs
     
    8182$temproot = "/tmp" if !defined $temproot;
    8283
    83 if (($stage eq 'raw') and !$clean and !defined $chip_path_base) {
    84     pod2usage( -msg => "Required options: --chip_path_base for raw stage", -exitval => 3);
     84if (($stage eq 'raw') and !$clean and !(defined $chip_path_base and defined $exp_type)) {
     85    pod2usage( -msg => "Required options: --chip_path_base --exp_type for raw stage", -exitval => 3);
    8586}
    8687
     
    105106    $command .= " --magicked" if defined $magicked;
    106107    $command .= " --alt_path_base $alt_path_base" if defined $alt_path_base;
     108    $command .= " --exp_type $exp_type" if defined $exp_type;
    107109    $command .= " --clean" if defined $clean;
    108110    $command .= " --save-temps" if defined $save_temps;
Note: See TracChangeset for help on using the changeset viewer.