IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2008, 4:15:18 PM (18 years ago)
Author:
Paul Price
Message:

Output photometry file wasn't getting created --- it needs to inherit from the image.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCamera.c

    r16831 r16862  
    179179
    180180            bool status;
    181             pmFPAfile *psfFile = pmFPAfileBindFromArgs(&status, imageFile, config, "PSPHOT.PSF.LOAD",
     181            pmFPAfile *psfFile = pmFPAfileBindFromArgs(&status, imageFile, config, "PPSTACK.INPUT.PSF",
    182182                                                       "PSF.FILENAMES");
    183183            if (!status) {
     
    186186            }
    187187            if (psfFile->type != PM_FPA_FILE_PSF) {
    188                 psError(PS_ERR_IO, true, "PSPHOT.PSF.LOAD is not of type PSF");
     188                psError(PS_ERR_IO, true, "PPSTACK.INPUT.PSF is not of type PSF");
    189189                return false;
    190190            }
     
    323323        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
    324324        // psphotDefineFiles
    325         pmFPAfile *psphotInput = pmFPAfileDefineFromFPA(config, output->fpa, 1, 1, "PSPHOT.INPUT");
     325        pmFPAfile *psphotInput = pmFPAfileDefineOutputFromFile(config, output, "PSPHOT.INPUT");
    326326        if (!psphotInput) {
    327327            psError(PS_ERR_IO, false, _("Unable to generate output file from PSPHOT.INPUT"));
Note: See TracChangeset for help on using the changeset viewer.