IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 14, 2023, 3:08:37 PM (3 years ago)
Author:
eugene
Message:

more work on the rawfix scripts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/eam/rawfix.20230221/src/rawfix.md5sum.pt

    r42405 r42411  
    3535    # fields in the table will become words in the page
    3636    queue2book -raw-columns -key dateobs -uniq -setword pantaskState INIT -setword pantasksQuality OK stdout md5sum.book
     37    book delpage md5sum.book -key pantaskState DONE
    3738  end
    3839
     
    210211   
    211212    # look for completed nights in md5sum.book (pantaskState == DONE)
    212     book getpage md5sum.book 0 -var pageName -key pantaskState DONE
     213    book getpage md5sum.book 0 -var pageName -key pantaskState STOP
    213214    if ("$pageName" == "NULL") break
    214215
     
    232233    # now that the entry is set to done in the db, remove the pantasks book entry
    233234    echo "cleaning this page: $options:0"
    234     book delpage md5sum.book $options:0
     235    book setword md5sum.book $options:0 pantaskState DONE
    235236  end
    236237
     
    274275  end
    275276  if ($Ndone == $Nhosts)
    276     book setword md5sum.book $options:1 pantaskState DONE
     277    book setword md5sum.book $options:1 pantaskState STOP
    277278  end
    278279  book delpage md5host.book $options:0
Note: See TracChangeset for help on using the changeset viewer.