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/detrend.norm.pro

    r13683 r14042  
    118118    end
    119119
    120     # delete existing entries in the appropriate states
     120    # delete existing entries in the appropriate pantaskStates
    121121    process_cleanup detPendingNormStatImfile
    122122  end
     
    145145   
    146146    # look for new images in detPendingNormStatImfile
    147     book getpage detPendingNormStatImfile 0 -var pageName -key state NULL
     147    book getpage detPendingNormStatImfile 0 -var pageName -key pantaskState NULL
    148148    if ($pageName == NULL) break
    149149
    150     book setword detPendingNormStatImfile $pageName state RUN
     150    book setword detPendingNormStatImfile $pageName pantaskState RUN
    151151    book getword detPendingNormStatImfile $pageName det_id    -var DET_ID
    152152    book getword detPendingNormStatImfile $pageName det_type  -var DET_TYPE
     
    198198  task.exit    timeout
    199199    showcommand timeout
    200     book setword detPendingNormStatImfile $options:0 state TIMEOUT
     200    book setword detPendingNormStatImfile $options:0 pantaskState TIMEOUT
    201201  end
    202202end
     
    237237    end
    238238
    239     # delete existing entries in the appropriate states
     239    # delete existing entries in the appropriate pantaskStates
    240240    process_cleanup detPendingNormImfile
    241241  end
     
    264264   
    265265    # look for new images in detPendingNormImfile
    266     book getpage detPendingNormImfile 0 -var pageName -key state NULL
     266    book getpage detPendingNormImfile 0 -var pageName -key pantaskState NULL
    267267    if ($pageName == NULL) break
    268268
    269     book setword detPendingNormImfile $pageName state RUN
     269    book setword detPendingNormImfile $pageName pantaskState RUN
    270270    book getword detPendingNormImfile $pageName det_type  -var DET_TYPE
    271271    book getword detPendingNormImfile $pageName camera    -var CAMERA   
     
    321321  task.exit    timeout
    322322    showcommand timeout
    323     book setword detPendingNormImfile $options:0 state TIMEOUT
     323    book setword detPendingNormImfile $options:0 pantaskState TIMEOUT
    324324  end
    325325end
     
    360360    end
    361361
    362     # delete existing entries in the appropriate states
     362    # delete existing entries in the appropriate pantaskStates
    363363    process_cleanup detPendingNormExp
    364364  end
     
    387387   
    388388    # look for new images in detPendingNormExp
    389     book getpage detPendingNormExp 0 -var pageName -key state NULL
     389    book getpage detPendingNormExp 0 -var pageName -key pantaskState NULL
    390390    if ($pageName == NULL) break
    391391
    392     book setword detPendingNormExp $pageName state RUN
     392    book setword detPendingNormExp $pageName pantaskState RUN
    393393    book getword detPendingNormExp $pageName det_id    -var DET_ID 
    394394    book getword detPendingNormExp $pageName iteration -var ITERATION   
     
    441441  task.exit    timeout
    442442    showcommand timeout
    443     book setword detPendingNormExp $options:0 state TIMEOUT
    444   end
    445 end
     443    book setword detPendingNormExp $options:0 pantaskState TIMEOUT
     444  end
     445end
Note: See TracChangeset for help on using the changeset viewer.