IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

fixed the psf I/O functions

File:
1 edited

Legend:

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

    r13008 r13529  
    4040    }
    4141    if (psf) {
    42         psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.PSF",     PS_DATA_UNKNOWN,  "psphot psf", psf);
     42        // save the psf for possible output.  if there was already an entry, it was loaded from external sources
     43        // the new one may have been updated or modified, so replace the existing entry
     44        psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.PSF", PS_DATA_UNKNOWN | PS_META_REPLACE,  "psphot psf", psf);
    4345    }
    4446
     
    4850    pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
    4951
    50     if (psErrorCodeLast() != PS_ERR_NONE) abort();
     52    if (psErrorCodeLast() != PS_ERR_NONE) {
     53        psErrorStackPrint(stderr, "unexpected remaining errors");
     54        abort();
     55    }
    5156
    5257    // XXX move this to top of loop
Note: See TracChangeset for help on using the changeset viewer.