IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 14226


Ignore:
Timestamp:
Jul 16, 2007, 11:44:38 AM (19 years ago)
Author:
Paul Price
Message:

Ensuring outputs are saved.

File:
1 edited

Legend:

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

    r14210 r14226  
    6262        return false;
    6363    }
    64     if (!pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK")) {
     64    pmFPAfile *outMask = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.MASK");
     65    if (!outMask) {
    6566        psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.MASK");
    6667        return false;
    6768    }
     69
     70    output->save = true;
     71    outMask->save = true;
     72
    6873    if (inWeight) {
    69         if (!pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.WEIGHT")) {
     74        pmFPAfile *outWeight = pmFPAfileDefineSkycell(config, output->fpa, "PSWARP.OUTPUT.WEIGHT");
     75        if (!outWeight) {
    7076            psError(PSWARP_ERR_CONFIG, false, "Failed to build FPA from PSWARP.OUTPUT.WEIGHT");
    7177            return false;
    7278        }
     79        outWeight->save = true;
    7380    }
    7481
Note: See TracChangeset for help on using the changeset viewer.