IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 20769


Ignore:
Timestamp:
Nov 16, 2008, 4:40:07 PM (17 years ago)
Author:
eugene
Message:

defer drop internal to outside of psphotReadout (these may be used by other programs)

Location:
trunk/psphot/src
Files:
2 edited

Legend:

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

    r15942 r20769  
    7272                }
    7373            }
     74
     75            status = true;
     76            status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
     77            status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV");
     78            status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
     79            if (!status) {
     80                psError(PSPHOT_ERR_PROG, false, "trouble dropping internal files");
     81                psFree (view);
     82                return false;
     83            }
    7484        }
    7585
  • trunk/psphot/src/psphotReadoutCleanup.c

    r18037 r20769  
    77
    88    // remove internal pmFPAfiles, if created
    9     bool status = true;
    10     status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
    11     status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV");
    12     status &= pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
    13     if (!status) {
    14         psError(PSPHOT_ERR_PROG, false, "trouble dropping internal files");
    15         psFree (psf);
    16         psFree (sources);
    17         psFree (detections);
    18         return false;
    19     }
    20 
    219    if (psErrorCodeLast() == PSPHOT_ERR_DATA) {
    2210        psErrorStackPrint(stderr, "Error in the psphot readout analysis");
Note: See TracChangeset for help on using the changeset viewer.