IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2007, 2:31:35 PM (19 years ago)
Author:
Paul Price
Message:

Adding det_type to detrend_process_exp.pl, so that it can set the correct output directory.

File:
1 edited

Legend:

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

    r12421 r12576  
    3333use Pod::Usage qw( pod2usage );
    3434
    35 my ($det_id, $exp_tag, $camera, $dbname, $workdir, $no_update, $no_op);
     35my ($det_id, $det_type, $exp_tag, $camera, $dbname, $workdir, $no_update, $no_op);
    3636GetOptions(
    3737    'det_id|d=s'        => \$det_id,
     38    'det_type|t=s'      => \$det_type,
    3839    'exp_tag|e=s'       => \$exp_tag,
    3940    'camera|c=s'        => \$camera,
     
    4647pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
    4748pod2usage(
    48     -msg => "Required options: --det_id --exp_tag --camera",
     49    -msg => "Required options: --det_id --det_type --exp_tag --camera",
    4950    -exitval => 3,
    5051) unless defined $det_id
    51     and defined $exp_tag,
     52    and defined $det_type
     53    and defined $exp_tag
    5254    and defined $camera;
    5355
Note: See TracChangeset for help on using the changeset viewer.