IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17096


Ignore:
Timestamp:
Mar 24, 2008, 4:01:22 PM (18 years ago)
Author:
Paul Price
Message:

Implementing --no-update, removing --no-op

File:
1 edited

Legend:

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

    r15595 r17096  
    3838my ($det_type, $filelevel, $inst, $telescope, $filter,
    3939    $det_id1, $iter1, $det_id2, $iter2, $operation, $mask,
    40     $workdir, $dbname, $no_update, $no_op);
     40    $workdir, $dbname, $no_update);
    4141GetOptions(
    4242           'det_type=s'    => \$det_type, # Detrend type for new detrend
     
    5454           'dbname=s'      => \$dbname, # Database name
    5555           'no-update'     => \$no_update, # Don't update the database
    56            'no-op'         => \$no_op,  # Don't do any operations
    5756           ) or pod2usage( 2 );
    5857
     
    10099
    101100my ($det_id, $iter);          # Detrend identifier for the new detrend
    102 {
     101unless ($no_update) {
    103102    my $command = "$dettool -register_detrend -det_type $det_type -filelevel $filelevel -workdir $workdir " .
    104103        "-inst $inst -telescope $telescope"; # Command to run
     
    168167
    169168    # Register the imfile
    170     {
     169    unless ($no_update) {
    171170        my $command = "$dettool -register_detrend_imfile -det_id $det_id "; # Command to run
    172171        $command .= " -class_id $class_id -uri $outName -path_base $outRoot";
Note: See TracChangeset for help on using the changeset viewer.