IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12664


Ignore:
Timestamp:
Mar 28, 2007, 5:18:02 PM (19 years ago)
Author:
Paul Price
Message:

Adding workdir from the database, not the command-line.

File:
1 edited

Legend:

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

    r12576 r12664  
    1212
    1313my ($dbname,                    # Database name to use
    14     $workdir,                   # Working directory
    1514    );
    1615GetOptions(
    1716           'dbname|d=s'  => \$dbname,
    18            'workdir|w=s' => \$workdir,
    1917) or pod2usage( 2 );
    2018
     
    9492        my $det_id = $item->{det_id};
    9593        my $det_type = $item->{det_type};
     94        my $workdir = $item->{workdir};
    9695
    9796        my $command = "$detrend_process_exp --det_id $det_id --det_type $det_type --exp_tag $exp_tag --camera $camera --dbname $dbname";
     
    118117        my $det_type = $item->{det_type};
    119118        my $camera = $item->{camera};
     119        my $workdir = $item->{workdir};
    120120
    121121        my $command = "$detrend_stack --det_id $det_id --iteration $iteration --class_id $class_id --det_type $det_type --camera $camera --dbname $dbname";
     
    140140        my $iteration = $item->{iteration};
    141141        my $det_type = $item->{det_type};
     142        my $workdir = $item->{workdir};
    142143
    143144        my $command = "$detrend_norm_calc --det_id $det_id --iteration $iteration --det_type $det_type --dbname $dbname";
     
    166167        my $uri = $item->{uri};
    167168        my $camera = $item->{camera};
     169        my $workdir = $item->{workdir};
    168170
    169171        my $command = "$detrend_norm_apply --det_id $det_id --iteration $iteration --class_id $class_id --value $value --input_uri $uri --camera $camera --det_type $det_type --dbname $dbname";
     
    192194        my $uri = $item->{uri};
    193195        my $camera = $item->{camera};
     196        my $workdir = $item->{workdir};
    194197
    195198        my $command = "$detrend_norm_exp --det_id $det_id --iteration $iteration --camera $camera --det_type $det_type --dbname $dbname";
     
    230233                my $uri = $item->{uri};
    231234                my $mode = $item->{mode};
     235                my $workdir = $item->{workdir};
    232236
    233237                my $command = "$detrend_resid --det_id $det_id --iteration $iteration --exp_tag $exp_tag --class_id $class_id --det_type $det_type --camera $camera --input_uri $uri --mode $mode --dbname $dbname";
     
    261265        my $iteration = $item->{iteration};
    262266        my $det_type = $item->{det_type};
     267        my $workdir = $item->{workdir};
    263268
    264269        my $command = "$detrend_reject_imfile --det_id $det_id --iteration $iteration --exp_tag $exp_tag --det_type $det_type --camera $camera --dbname $dbname";
     
    284289        my $iteration = $item->{iteration};
    285290        my $det_type = $item->{det_type};
     291        my $workdir = $item->{workdir};
    286292
    287293        my $command = "$detrend_reject_exp --det_id $det_id --iteration $iteration --det_type $det_type --camera $camera --dbname $dbname";
Note: See TracChangeset for help on using the changeset viewer.