IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13659


Ignore:
Timestamp:
Jun 5, 2007, 3:10:15 PM (19 years ago)
Author:
Paul Price
Message:

Always generate an output mask.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpParseCamera.c

    r13528 r13659  
    1919    pmFPAfile *astrom = pmFPAfileDefineFromArgs (&status, config, "PSWARP.ASTROM", "ASTROM");
    2020    if (!status) {
    21         psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
    22         return NULL;
     21        psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
     22        return NULL;
    2323    }
    2424    if (astrom) {
     
    3131    pmFPAfile *inMask = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.MASK", "MASK");
    3232    if (!status) {
    33         psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
    34         return NULL;
     33        psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
     34        return NULL;
    3535    }
    3636    if (!inMask) {
     
    4040    pmFPAfile *inWeight = pmFPAfileBindFromArgs(&status, input, config, "PSWARP.WEIGHT", "WEIGHT");
    4141    if (!status) {
    42         psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
    43         return NULL;
     42        psError (PS_ERR_UNKNOWN, false, "failed to load find definition");
     43        return NULL;
    4444    }
    4545    if (!inWeight) {
     
    6262        return false;
    6363    }
    64     if (inMask) {
    65         if (!pmFPAfileDefineOutput (skyConfig, skycell->fpa, "PSWARP.OUTPUT.MASK")) {
    66             psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.MASK");
    67             return false;
    68         }
     64    if (!pmFPAfileDefineOutput (skyConfig, skycell->fpa, "PSWARP.OUTPUT.MASK")) {
     65        psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.MASK");
     66        return false;
    6967    }
    7068    if (inWeight) {
Note: See TracChangeset for help on using the changeset viewer.