IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12214


Ignore:
Timestamp:
Mar 2, 2007, 5:43:57 PM (19 years ago)
Author:
Paul Price
Message:

Updating to use new ippTools system, where the chip and camera phases take identifiers for those phases, instead of exp_tag. Also want exp_id so the filename can be set.

Location:
trunk/ippTasks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/camera.pro

    r12126 r12214  
    7777  task.exit    0
    7878    # convert 'stdout' to book format
    79     ipptool2book stdout camPendingExp -key exp_tag -uniq -setword dbname $options:0
     79    ipptool2book stdout camPendingExp -key cam_id -uniq -setword dbname $options:0
    8080    if ($VERBOSE > 2)
    8181      book listbook camPendingExp
     
    114114    book setword camPendingExp $pageName state RUN
    115115    book getword camPendingExp $pageName camera -var CAMERA
    116     book getword camPendingExp $pageName exp_tag -var EXP_TAG
     116    book getword camPendingExp $pageName exp_id -var EXP_ID
     117    book getword camPendingExp $pageName cam_id -var CAM_ID
    117118    book getword camPendingExp $pageName workdir -var WORKDIR
    118119    book getword camPendingExp $pageName dbname -var DBNAME
     
    139140    # create the command line
    140141    if ($VERBOSE > 1)
    141       echo command camera_exp.pl --exp_tag $EXP_TAG $ARGS
     142      echo command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA $ARGS
    142143    end
    143     command camera_exp.pl --exp_tag $EXP_TAG --camera $CAMERA $ARGS
     144    command camera_exp.pl --exp_id $EXP_ID --cam_id $CAM_ID --camera $CAMERA $ARGS
    144145  end
    145146
  • trunk/ippTasks/chip.pro

    r12126 r12214  
    8181  task.exit    0
    8282    # convert 'stdout' to book format
    83     ipptool2book stdout chipPendingImfile -key exp_tag:class_id -uniq -setword dbname $options:0
     83    ipptool2book stdout chipPendingImfile -key chip_id:class_id -uniq -setword dbname $options:0
    8484    if ($VERBOSE > 2)
    8585      book listbook chipPendingImfile
     
    118118    book setword chipPendingImfile $pageName state RUN
    119119    book getword chipPendingImfile $pageName camera -var CAMERA
    120     book getword chipPendingImfile $pageName exp_tag -var EXP_TAG
     120    book getword chipPendingImfile $pageName exp_id -var EXP_ID
     121    book getword chipPendingImfile $pageName chip_id -var CHIP_ID
    121122    book getword chipPendingImfile $pageName workdir -var WORKDIR
    122123    book getword chipPendingImfile $pageName class_id -var CLASS_ID
     
    146147    # create the command line
    147148    if ($VERBOSE > 1)
    148       echo command chip_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS
     149      echo command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS
    149150    end
    150     command chip_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS
     151    command chip_imfile.pl --exp_id $EXP_ID --chip_id $CHIP_ID --class_id $CLASS_ID --uri $URI --camera $CAMERA $ARGS
    151152  end
    152153
Note: See TracChangeset for help on using the changeset viewer.