IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15301


Ignore:
Timestamp:
Oct 12, 2007, 9:33:15 AM (19 years ago)
Author:
Paul Price
Message:

Some values are not required if we are passing an error code.

Location:
trunk/ippTools/src
Files:
2 edited

Legend:

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

    r14112 r15301  
    506506        return false;
    507507    }
    508     if (!uri) {
    509         psError(PS_ERR_UNKNOWN, true, "-uri is required");
    510         return false;
    511     }
     508
    512509    psString path_base = psMetadataLookupStr(&status, config->args, "-path_base");
    513510    if (!status) {
    514511        psError(PS_ERR_UNKNOWN, false, "failed to lookup value for -path_base");
    515         return false;
    516     }
    517     if (!path_base) {
    518         psError(PS_ERR_UNKNOWN, true, "-path_base is required");
    519512        return false;
    520513    }
     
    671664{
    672665    PS_ASSERT_PTR_NON_NULL(config, false);
    673    
     666
    674667    psString query = pxDataGet("stacktool_revertsumskyfile.sql");
    675668    if (!query) {
  • trunk/ippTools/src/stacktoolConfig.c

    r14112 r15301  
    109109    psMetadata *addsumskyfileArgs = psMetadataAlloc();
    110110    psMetadataAddStr(addsumskyfileArgs, PS_LIST_TAIL, "-stack_id", 0,
    111             "define warp ID (required)", NULL);
     111            "define stack ID (required)", NULL);
    112112    psMetadataAddStr(addsumskyfileArgs, PS_LIST_TAIL, "-uri", 0,
    113             "define URI of file (required)", 0);
     113            "define URI of file", 0);
    114114    psMetadataAddStr(addsumskyfileArgs, PS_LIST_TAIL, "-path_base", 0,
    115             "define base output location (required)", 0);
     115            "define base output location", 0);
    116116    psMetadataAddF64(addsumskyfileArgs, PS_LIST_TAIL, "-bg",  0,
    117117            "define exposue background", NAN);
Note: See TracChangeset for help on using the changeset viewer.