IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 28, 2008, 8:43:33 AM (18 years ago)
Author:
Paul Price
Message:

Was producing two readouts in the weight map --- fixed by removing the
additional "pmReadoutAlloc" that was needed before, but not now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSub/src/ppSubReadout.c

    r17819 r17820  
    239239        }
    240240
    241         pmCell *psfCell = pmFPAfileThisCell(config->files, view, "PSPHOT.PSF.LOAD");
    242         if (!psfCell) {
     241        pmReadout *psfRO = pmFPAfileThisReadout(config->files, view, "PSPHOT.PSF.LOAD");
     242        if (!psfRO) {
    243243            psError(PS_ERR_UNEXPECTED_NULL, true, "Unable to find file PSPHOT.PSF.LOAD");
    244244            return false;
    245245        }
    246         pmReadout *psfRO = pmReadoutAlloc(psfCell);
    247246        psMetadataAddPtr(psfRO->parent->parent->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN,
    248247                         "PSF from matched addition", psf);
    249         psFree(psfRO);                  // Drop reference
    250248    }
    251249
Note: See TracChangeset for help on using the changeset viewer.