IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14022


Ignore:
Timestamp:
Jul 5, 2007, 1:33:08 PM (19 years ago)
Author:
eugene
Message:

applying mods to the exp_tag, exp_id, exp_name concepts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/register.pro

    r13929 r14022  
    100100  task.exit $EXIT_SUCCESS
    101101    # convert 'stdout' to book format
    102     ipptool2book stdout regPendingImfile -key exp_tag:class_id -uniq -setword dbname $options:0
     102    ipptool2book stdout regPendingImfile -key exp_id:class_id -uniq -setword dbname $options:0
    103103    if ($VERBOSE > 2)
    104104      book listbook regPendingImfile
     
    137137    book setword regPendingImfile $pageName state RUN
    138138
    139     book getword regPendingImfile $pageName exp_tag -var EXP_TAG
     139    book getword regPendingImfile $pageName exp_id -var EXP_ID
     140    book getword regPendingImfile $pageName exp_name -var EXP_NAME
    140141    book getword regPendingImfile $pageName class_id -var CLASS_ID
    141142    book getword regPendingImfile $pageName uri -var URI
    142143    book getword regPendingImfile $pageName workdir -var WORKDIR
    143144    book getword regPendingImfile $pageName dbname -var DBNAME
     145
     146    # EXP_TAG is used to generate the unique, but human-readable, filenames
     147    $EXP_TAG = $EXP_NAME.$EXP_ID
    144148
    145149    # specify choice of remote host
     
    161165    options $pageName
    162166
    163     $run = register_imfile.pl --exp_tag $EXP_TAG --class_id $CLASS_ID --uri $URI
     167    $run = register_imfile.pl --exp_id $EXP_ID --class_id $CLASS_ID --exp_name $EXP_NAME --exp_tag $EXP_TAG --uri $URI
    164168    add_standard_args run
    165169
     
    210214  task.exit $EXIT_SUCCESS
    211215    # convert 'stdout' to book format
    212     ipptool2book stdout regPendingExp -key exp_tag -uniq -setword dbname $options:0
     216    ipptool2book stdout regPendingExp -key exp_id -uniq -setword dbname $options:0
    213217    if ($VERBOSE > 2)
    214218      book listbook regPendingExp
     
    246250
    247251    book setword regPendingExp $pageName state RUN
    248     book getword regPendingExp $pageName exp_tag -var EXP_TAG
     252    book getword regPendingExp $pageName exp_id -var EXP_ID
     253    book getword regPendingExp $pageName exp_name -var EXP_NAME
    249254    book getword regPendingExp $pageName workdir -var WORKDIR
    250255    book getword regPendingExp $pageName dbname -var DBNAME
     256
     257    # EXP_TAG is used to generate the unique, but human-readable, filenames
     258    $EXP_TAG = $EXP_NAME.$EXP_ID
    251259
    252260    # specify choice of remote host:(need to choose based on chips)
     
    268276    options $pageName
    269277
    270     $run = register_exp.pl --exp_tag $EXP_TAG
     278    $run = register_exp.pl --exp_id $EXP_ID --exp_tag $EXP_TAG
    271279    add_standard_args run
    272280
Note: See TracChangeset for help on using the changeset viewer.