IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2008, 4:23:57 PM (18 years ago)
Author:
Paul Price
Message:

Need to catch errors out of psphotReadout --- we NEED that PSF!

File:
1 edited

Legend:

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

    r16031 r16881  
    117117                pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    118118            }
    119             pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    120         }
    121         pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
     119            pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
     120        }
     121        pmFPAfileIOChecks (config, view, PM_FPA_AFTER);
    122122        psFree(view);
    123123
     
    278278        view->chip = view->cell = view->readout = 0;
    279279        if (!psphotReadout(config, view)) {
    280             // Can't do anything about it; let it continue
    281             psErrorStackPrint(stderr, "Unable to determine PSF for warped image.\n");
    282             psErrorClear();
     280            psError(PS_ERR_UNKNOWN, false, "Unable to determine PSF for warped image.");
     281            return false;
    283282        }
    284283        psFree(view);
Note: See TracChangeset for help on using the changeset viewer.