IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2007, 5:11:59 PM (19 years ago)
Author:
eugene
Message:

assert a value for pantaskState when loading into the book

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTasks/register.pro

    r14042 r14153  
    100100  task.exit $EXIT_SUCCESS
    101101    # convert 'stdout' to book format
    102     ipptool2book stdout regPendingImfile -key exp_id:tmp_class_id -uniq -setword dbname $options:0
     102    ipptool2book stdout regPendingImfile -key exp_id:tmp_class_id -uniq -setword dbname $options:0 -setword pantaskState INIT
    103103    if ($VERBOSE > 2)
    104104      book listbook regPendingImfile
     
    132132   
    133133    # look for new images in regPendingImfile
    134     book getpage regPendingImfile 0 -var pageName -key pantaskState NULL
     134    book getpage regPendingImfile 0 -var pageName -key pantaskState INIT
    135135    if ($pageName == NULL) break
    136136
     
    214214  task.exit $EXIT_SUCCESS
    215215    # convert 'stdout' to book format
    216     ipptool2book stdout regPendingExp -key exp_id -uniq -setword dbname $options:0
     216    ipptool2book stdout regPendingExp -key exp_id -uniq -setword dbname $options:0 -setword pantaskState INIT
    217217    if ($VERBOSE > 2)
    218218      book listbook regPendingExp
     
    245245    if ($network == 0) break
    246246   
    247     # look for new images in regPendingExp (pantaskState == NULL)
    248     book getpage regPendingExp 0 -var pageName -key pantaskState NULL
     247    # look for new images in regPendingExp (pantaskState == INIT)
     248    book getpage regPendingExp 0 -var pageName -key pantaskState INIT
    249249    if ($pageName == NULL) break
    250250
Note: See TracChangeset for help on using the changeset viewer.