IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 6, 2007, 9:10:14 AM (19 years ago)
Author:
eugene
Message:

change internal state variable to pantaskState (protect from db fields named state)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/warp.pro

    r13153 r14042  
    111111    end
    112112
    113     # delete existing entries in the appropriate states
     113    # delete existing entries in the appropriate pantaskStates
    114114    process_cleanup warpInputExp
    115115  end
     
    138138    if ($network == 0) break
    139139   
    140     # look for new images in warpInputExp (state == NULL)
    141     book getpage warpInputExp 0 -var pageName -key state NULL
     140    # look for new images in warpInputExp (pantaskState == NULL)
     141    book getpage warpInputExp 0 -var pageName -key pantaskState NULL
    142142    if ("$pageName" == "NULL") break
    143143
    144     book setword warpInputExp $pageName state RUN
     144    book setword warpInputExp $pageName pantaskState RUN
    145145    book getword warpInputExp $pageName warp_id -var WARP_ID
    146146    book getword warpInputExp $pageName camera -var CAMERA
     
    192192  task.exit    timeout
    193193    showcommand timeout
    194     book setword warpInputExp $options:0 state TIMEOUT
     194    book setword warpInputExp $options:0 pantaskState TIMEOUT
    195195  end
    196196end
     
    231231    end
    232232
    233     # delete existing entries in the appropriate states
     233    # delete existing entries in the appropriate pantaskStates
    234234    process_cleanup warpPendingSkyCell
    235235  end
     
    258258    if ($network == 0) break
    259259   
    260     # look for new images in warpPendingSkyCell (state == NULL)
    261     book getpage warpPendingSkyCell 0 -var pageName -key state NULL
     260    # look for new images in warpPendingSkyCell (pantaskState == NULL)
     261    book getpage warpPendingSkyCell 0 -var pageName -key pantaskState NULL
    262262    if ("$pageName" == "NULL") break
    263263
    264     book setword warpPendingSkyCell $pageName state RUN
     264    book setword warpPendingSkyCell $pageName pantaskState RUN
    265265    book getword warpPendingSkyCell $pageName warp_id -var WARP_ID
    266266    book getword warpPendingSkyCell $pageName skycell_id -var SKYCELL_ID
     
    314314  task.exit    timeout
    315315    showcommand timeout
    316     book setword warpPendingSkyCell $options:0 state TIMEOUT
    317   end
    318 end
    319 
     316    book setword warpPendingSkyCell $options:0 pantaskState TIMEOUT
     317  end
     318end
     319
Note: See TracChangeset for help on using the changeset viewer.