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.resid.pro

    r13937 r14042  
    102102    end
    103103
    104     # delete existing entries in the appropriate states
     104    # delete existing entries in the appropriate pantaskStates
    105105    process_cleanup detPendingResidImfile
    106106  end
     
    129129   
    130130    # look for new images in detPendingResidImfile
    131     book getpage detPendingResidImfile 0 -var pageName -key state NULL
     131    book getpage detPendingResidImfile 0 -var pageName -key pantaskState NULL
    132132    if ($pageName == NULL) break
    133133
    134     book setword detPendingResidImfile $pageName state RUN
     134    book setword detPendingResidImfile $pageName pantaskState RUN
    135135    book getword detPendingResidImfile $pageName det_id    -var DET_ID   
    136136    book getword detPendingResidImfile $pageName iteration -var ITERATION     
     
    197197  task.exit    timeout
    198198    showcommand timeout
    199     book setword detPendingResidImfile $options:0 state TIMEOUT
     199    book setword detPendingResidImfile $options:0 pantaskState TIMEOUT
    200200  end
    201201end
     
    236236    end
    237237
    238     # delete existing entries in the appropriate states
     238    # delete existing entries in the appropriate pantaskStates
    239239    process_cleanup detPendingResidExp
    240240  end
     
    263263   
    264264    # look for new images in detPendingResidExp
    265     book getpage detPendingResidExp 0 -var pageName -key state NULL
     265    book getpage detPendingResidExp 0 -var pageName -key pantaskState NULL
    266266    if ($pageName == NULL) break
    267267
    268     book setword detPendingResidExp $pageName state RUN
     268    book setword detPendingResidExp $pageName pantaskState RUN
    269269    book getword detPendingResidExp $pageName det_id    -var DET_ID 
    270270    book getword detPendingResidExp $pageName iteration -var ITERATION   
     
    322322  task.exit    timeout
    323323    showcommand timeout
    324     book setword detPendingResidExp $options:0 state TIMEOUT
    325   end
    326 end
     324    book setword detPendingResidExp $options:0 pantaskState TIMEOUT
     325  end
     326end
Note: See TracChangeset for help on using the changeset viewer.