IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 12, 2006, 4:17:47 PM (19 years ago)
Author:
eugene
Message:

cleanups

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/phase0.pro

    r10638 r10673  
    1515end
    1616
    17 macro test.p0
    18     list testlist -x "p0tool -pendingimfile -simple"
    19     echo $testlist:n
    20     for i 0 $testlist:n
    21       queuepush stdout "$testlist:$i"
    22     end
    23     echo Done pushing.
    24     queuesize stdout -var Nqueue
    25     for i 0 $Nqueue
    26       queuepop stdout -var line
    27       list word -split $line
    28       $EXP_TAG  = $word:0
    29       $CLASS    = $word:1
    30       $CLASS_ID = $word:2
    31       $URI      = $word:3
    32       queuepush Phase0Imfiles -uniq -key 1 "NEW $EXP_TAG $CLASS $CLASS_ID $URI"
    33     end
    34 end
     17$Phase0ImfileFail = 0
    3518
    3619# select images ready for phase0 analysis
     
    3922task           phase0.imfile.load
    4023#  command      p0tool -pendingimfile -simple
    41   command      /home/price/ipp/ippTasks/p0tool.sh
    4224  host         local
    4325
    4426  periods      -poll $loadpoll
    45   periods      -exec 30
     27  periods      -exec $loadexec
    4628  periods      -timeout 30
    4729
    4830  stdout phase0.imfile.log
    4931  stderr phase0.imfile.log
     32
     33  task.exec
     34    command      p0tool.sh {$Phase0ImfileFail + 20}
     35  end
    5036
    5137  # success
     
    7662  task.exit    default
    7763    echo "phase0 pending imfiles: failure"
     64    $Phase0ImfileFail ++
    7865  end
    7966
     
    138125    echo "failure for phase0imfile.pl: $options:0"
    139126    queuepush Phase0Imfiles -replace -key 1 "FAIL $options:0"
     127    $Phase0ImfileFail ++
    140128  end
    141129
Note: See TracChangeset for help on using the changeset viewer.