IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 42707


Ignore:
Timestamp:
Jun 29, 2024, 3:16:57 PM (2 years ago)
Author:
eugene
Message:

do not crash on missing elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20230313/psphot/src/psphotVisual.c

    r36863 r42707  
    298298    bool status = false;
    299299    pmFPAfile *file = psMetadataLookupPtr (&status, config->files, "PSPHOT.BACKGND");
     300    if (!file) return false;
    300301
    301302    pmReadout *backgnd = READOUT_OR_INTERNAL(view, file);
     
    394395
    395396    psArray *peaks = detections->peaks;
     397    if (!peaks) return false;
    396398
    397399    // note: this uses the Ohana allocation tools:
Note: See TracChangeset for help on using the changeset viewer.