IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8059


Ignore:
Timestamp:
Aug 1, 2006, 5:50:37 PM (20 years ago)
Author:
jhoblitt
Message:

accidental premature checkin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptool.c

    r8052 r8059  
    5151static bool quickMode(pxConfig *config)
    5252{
     53    PS_ASSERT_PTR_NON_NULL(config, NULL);
     54
    5355    psArray *rawFrames = rawScienceFrameSearch(config);
    5456    if (!rawFrames) {
     
    6769static bool defineMode(pxConfig *config)
    6870{
     71    PS_ASSERT_PTR_NON_NULL(config, NULL);
     72
    6973    psArray *rawFrames = rawScienceFrameSearch(config);
    7074    if (!rawFrames) {
     
    133137static bool pendingMode(pxConfig *config)
    134138{
     139    PS_ASSERT_PTR_NON_NULL(config, NULL);
     140
    135141    psArray *pendingFrames = p2PendingFrameSearch(config);
    136142    if (!pendingFrames) {
     
    157163static bool doneMode(pxConfig *config)
    158164{
     165    PS_ASSERT_PTR_NON_NULL(config, NULL);
     166
     167    // -uri is always required
     168    bool status = false;
     169    psString uri = psMetadataLookupStr(&status, config->args, "-uri");
     170    if (!status) {
     171        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -uri");
     172        return NULL;
     173    }
     174    if (!uri) {
     175        psError(PS_ERR_UNKNOWN, true, "-uri is required");
     176        return NULL;
     177    }
    159178    // get exp_id/class/class_id/uri from the CLI
    160179    // add the completed imfile to
Note: See TracChangeset for help on using the changeset viewer.