IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 25, 2007, 5:09:20 PM (19 years ago)
Author:
eugene
Message:

changed the pmFPAfileDefine functions to not require an input status value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotParseCamera.c

    r12805 r13528  
    1717    // if MASK or WEIGHT was supplied on command line, bind files to 'load'
    1818    // the mask and weight will be mosaicked with the image
    19     pmFPAfileBindFromArgs (NULL, load, config, "PSPHOT.MASK",   "MASK");
    20     pmFPAfileBindFromArgs (NULL, load, config, "PSPHOT.WEIGHT", "WEIGHT");
     19    pmFPAfileBindFromArgs (&status, load, config, "PSPHOT.MASK",   "MASK");
     20    if (!status) {
     21        psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
     22        return NULL;
     23    }
     24
     25    pmFPAfileBindFromArgs (&status, load, config, "PSPHOT.WEIGHT", "WEIGHT");
     26    if (!status) {
     27        psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
     28        return NULL;
     29    }
    2130
    2231    // the psphot analysis is performed on chips
Note: See TracChangeset for help on using the changeset viewer.