IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 14, 2006, 8:11:35 AM (20 years ago)
Author:
eugene
Message:

fixed for -limits and failure,timeout reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/detrend.norm.pro

    r10692 r10723  
    5454
    5555  task.exec
    56     command      dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20}
     56    # command      dettool -tonormalizedstat -simple -limit {$DetrendNormStatFail + 20}
     57    command      dettool -tonormalizedstat -simple
    5758  end
    5859
     
    8687  # default exit status
    8788  task.exit    default
    88     if ($VERBOSE)
    89       echo       "detrend.norm: failure"
    90     end
    91   end
    92 
    93   # operation times out?
    94   task.exit    timeout
    95     if ($VERBOSE)
    96       echo       "detrend.norm: timeout"
    97     end
     89    showcommand failure
     90  end
     91
     92  # operation times out?
     93  task.exit    timeout
     94    showcommand timeout
    9895  end
    9996end
     
    153150  # default exit status
    154151  task.exit    default
    155     if ($VERBOSE)
    156       echo "failure detrend_norm_calc.pl $options:0"
    157     end
     152    showcommand failure
    158153    queuepush DetrendNormStat -replace -key 1:3 "FAIL $options:0"
    159154    $DetrendNormStatFail ++
     
    162157  # operation times out?
    163158  task.exit    timeout
    164     if ($VERBOSE)
    165       echo "failure detrend_norm_calc.pl $options:0"
    166     end
     159    showcommand timeout
    167160    queuepush DetrendNormStat -replace -key 1:3 "TIMEOUT $options:0"
    168161   $DetrendNormStatFail ++
     
    184177
    185178  task.exec
    186     command      dettool -tonormalize -simple -limit {$DetrendNormFail + 20}
     179    # command      dettool -tonormalize -simple -limit {$DetrendNormFail + 20}
     180    command      dettool -tonormalize -simple
    187181  end
    188182
     
    219213  # default exit status
    220214  task.exit    default
    221     if ($VERBOSE)
    222       echo       "detrend.norm: failure"
    223     end
    224   end
    225 
    226   # operation times out?
    227   task.exit    timeout
    228     if ($VERBOSE)
    229       echo       "detrend.norm: timeout"
    230     end
     215    showcommand failure
     216  end
     217
     218  # operation times out?
     219  task.exit    timeout
     220    showcommand timeout
    231221  end
    232222end
     
    288278  # default exit status
    289279  task.exit    default
    290     if ($VERBOSE)
    291       echo "failure detrend_norm_apply.pl $options:0"
    292     end
     280    showcommand failure
    293281    queuepush DetrendNorm -replace -key 4:5 "FAIL $options:0"
    294282    $DetrendNormFail ++
     
    297285  # operation times out?
    298286  task.exit    timeout
    299     if ($VERBOSE)
    300       echo "failure detrend_norm_apply.pl $options:0"
    301     end
     287    showcommand timeout
    302288    queuepush DetrendNorm -replace -key 4:5 "TIMEOUT $options:0"
    303289    $DetrendNormFail ++
     
    319305
    320306  task.exec
    321     command      dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20}
     307    # command      dettool -tonormalizedexp -simple -limit {$DetrendNormExpFail + 20}
     308    command      dettool -tonormalizedexp -simple
    322309  end
    323310
     
    344331      #$EXP_TYPE = $word:5
    345332      #$IMFILES  = $word:6
    346       queuepush DetrendNormalizeExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA"
     333      queuepush DetrendNormExp -uniq -key 1:2 "NEW $DET_ID $ITER $DET_TYPE $CAMERA"
    347334    end
    348335
     
    354341  # default exit status
    355342  task.exit    default
    356     if ($VERBOSE)
    357       echo       "detrend.norm: failure"
    358     end
    359   end
    360 
    361   # operation times out?
    362   task.exit    timeout
    363     if ($VERBOSE)
    364       echo       "detrend.norm: timeout"
    365     end
     343    showcommand failure
     344  end
     345
     346  # operation times out?
     347  task.exit    timeout
     348    showcommand timeout
    366349  end
    367350end
     
    425408  # default exit status
    426409  task.exit    default
    427     if ($VERBOSE)
    428       echo "failure detrend_norm_exp.pl $options:0"
    429     end
     410    showcommand failure
    430411    queuepush DetrendNormExp -replace -key 1:2 "FAIL $options:0"
    431    $DetrendNormExpFail ++
    432   end
    433 
    434   # operation times out?
    435   task.exit    timeout
    436     if ($VERBOSE)
    437       echo "failure detrend_norm_exp.pl $options:0"
    438     end
     412    $DetrendNormExpFail ++
     413  end
     414
     415  # operation times out?
     416  task.exit    timeout
     417    showcommand timeout
    439418    queuepush DetrendNormExp -replace -key 1:2 "TIMEOUT $options:0"
    440    $DetrendNormExpFail ++
    441   end
    442 end
     419    $DetrendNormExpFail ++
     420  end
     421end
Note: See TracChangeset for help on using the changeset viewer.