IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31484


Ignore:
Timestamp:
May 6, 2011, 6:07:42 PM (15 years ago)
Author:
watersc1
Message:

bug fix for the case where a job exits with non-zero state, but the book retains the page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20110505/ippTasks/lap.pro

    r31481 r31484  
    2727end
    2828
     29macro lap.clear.books
     30    book init lapNewRuns
     31    book init lapRunRuns
     32    book init lapFullRuns
     33    book init lapDoneRuns
     34end
     35
    2936macro lap.on
    3037    task lap.initial.load
    … …  
    214221
    215222    option $LAP_ID
    216 
     223    book delpage lapNewRuns $LAP_ID
    217224    $run = lap_science.pl --chip_mode --dbname $DBNAME --lap_id $LAP_ID
    218225   
    … …  
    223230  # success
    224231  task.exit  0
    225      book delpage lapNewRuns $options:0
     232
    226233#    ipptool2book stdout lapNewRuns -uniq -key lap_id
    227234
    … …  
    335342
    336343    option $LAP_ID
     344    book delpage lapRunRuns $LAP_ID
    337345    $run = lap_science.pl --monitor_mode --dbname $DBNAME --lap_id $LAP_ID
    338346
    … …  
    343351  # success
    344352  task.exit  0
    345     book delpage lapRunRuns $options:0
    346353#    ipptool2book stdout lapRunRuns -uniq -key lap_id
    347354
    … …  
    449456    book getword lapDoneRuns $lapDonePageName dbname -var DBNAME
    450457
     458    book delpage lapDoneRuns $options:0
     459
    451460    $run = lap_science.pl --cleanup_mode --dbname $DBNAME --lap_id $LAP_ID
    452461
Note: See TracChangeset for help on using the changeset viewer.