IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12576


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.

Location:
trunk/ippScripts/scripts
Files:
2 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
  • trunk/ippScripts/scripts/ipp_serial_detrend.pl

    r12573 r12576  
    9393        my $camera = $item->{camera};
    9494        my $det_id = $item->{det_id};
    95 
    96         my $command = "$detrend_process_exp --det_id $det_id --exp_tag $exp_tag --camera $camera --dbname $dbname";
     95        my $det_type = $item->{det_type};
     96
     97        my $command = "$detrend_process_exp --det_id $det_id --det_type $det_type --exp_tag $exp_tag --camera $camera --dbname $dbname";
    9798        $command .= " --workdir $workdir" if defined $workdir;
    9899        my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.