IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 7, 2006, 12:44:13 PM (20 years ago)
Author:
Paul Price
Message:

Need to declare "$reject" outside the 'for' loop in order to reuse it under "UPDATE".

File:
1 edited

Legend:

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

    r10459 r10530  
    9898my $numReject = 0;              # Number of exposures rejected
    9999my $command;
     100my $reject;
    100101for (my $i = 0; $i < scalar @means; $i++) {
    101102    my $expTag = $expTags[$i];  # Exposure ID
    102103    $command = "$dettool -updateresidexp -det_id $det_id -iteration $iter -exp_tag $expTag"; # Command to run
    103     my $reject = 0;             # Reject this exposure?
     104    $reject = 0;                # Reject this exposure?
    104105
    105106    if (not $accept[$i]) {
     
    145146        print "no rejection for exposure mean stdev\n";
    146147    }
    147    
     148
    148149  UPDATE:
    149150    if ($reject) {
Note: See TracChangeset for help on using the changeset viewer.