IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 29561 for trunk/ippTasks


Ignore:
Timestamp:
Oct 26, 2010, 8:39:32 AM (16 years ago)
Author:
bills
Message:

Change the destreak cleanup to preserve the rows in the magicDSFile table

Location:
trunk/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/destreak.cleanup.pro

    r29250 r29561  
    5050  periods      -timeout 20
    5151  npending     1
    52   active       false
    5352
    5453  stdout NULL
     
    105104  periods      -exec $RUNEXEC
    106105  periods      -timeout 60
    107   active       false
    108106
    109107  task.exec
  • trunk/ippTasks/destreak.pro

    r29502 r29561  
    185185    book getword magicToDS $pageName exp_id -var EXP_ID
    186186    book getword magicToDS $pageName magic_ds_id -var MAGIC_DS_ID
     187    book getword magicToDS $pageName state -var RUN_STATE
    187188    book getword magicToDS $pageName camera -var CAMERA
    188189    book getword magicToDS $pageName streaks_uri -var STREAKS
     
    215216    # TODO: do not add recoveryroot or replace if they are null or zero
    216217
    217     $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --exp_id $EXP_ID --streaks_path_base $STREAKS_PATH_BASE --inv_streaks_path_base $INV_STREAKS_PATH_BASE --streaks $STREAKS --inv_streaks $INV_STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $OUTROOT --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE --magicked $MAGICKED
     218    $run = magic_destreak.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --exp_id $EXP_ID --streaks_path_base $STREAKS_PATH_BASE --inv_streaks_path_base $INV_STREAKS_PATH_BASE --streaks $STREAKS --inv_streaks $INV_STREAKS --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --uri $URI --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $OUTROOT --logfile $logfile --recoveryroot $RECROOT --replace $REPLACE --magicked $MAGICKED --run-state $RUN_STATE
    218219
    219220    add_standard_args run
     
    390391    book getword magicDSToRevert $pageName camera -var CAMERA
    391392    book getword magicDSToRevert $pageName stage -var STAGE
     393    book getword magicDSToRevert $pageName state -var RUN_STATE
    392394    book getword magicDSToRevert $pageName stage_id -var STAGE_ID
    393395    book getword magicDSToRevert $pageName component -var COMPONENT
     
    414416    end
    415417
    416     $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $OUTROOT --logfile $logfile --replace $REPLACE --bothways $BOTHWAYS --magicked $MAGICKED
     418    $run = magic_destreak_revert.pl --magic_ds_id $MAGIC_DS_ID --camera $CAMERA --stage $STAGE --stage_id $STAGE_ID --component $COMPONENT --path_base $PATH_BASE --cam_path_base $CAM_PATH_BASE --cam_reduction $CAM_REDUCTION --outroot $OUTROOT --logfile $logfile --replace $REPLACE --bothways $BOTHWAYS --magicked $MAGICKED --run-state $RUN_STATE
    417419
    418420    add_standard_args run
Note: See TracChangeset for help on using the changeset viewer.