IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34678


Ignore:
Timestamp:
Nov 19, 2012, 5:45:03 PM (14 years ago)
Author:
watersc1
Message:

finally tracked down the source of that bug. I need to check that I have all my debugging code out, but this at least works.

Location:
branches/czw_branch/20120906/ppStack/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/czw_branch/20120906/ppStack/src/ppStack.h

    r34666 r34678  
    4040    PPSTACK_FILES_PHOT,                 // Files for photometry
    4141    PPSTACK_FILES_BKG,                  // Files for bkg
    42     PPSTACK_FILES_MEDIAN,                // Files for median only stacks.
    43     PPSTACK_FILES_MINIMAL                // Files for median only stacks.
     42    PPSTACK_FILES_MEDIAN_IN,                // Files for median only stacks.
     43    PPSTACK_FILES_MEDIAN_OUT                // Files for median only stacks.
    4444} ppStackFileList;
    4545
  • branches/czw_branch/20120906/ppStack/src/ppStackCleanup.c

    r34666 r34678  
    7676
    7777bool ppStackCleanup (pmConfig *config, ppStackOptions *options) {
    78 
    7978    psExit exitValue = ppStackExitCode(PS_EXIT_SUCCESS); // Exit code
    80 
     79   
    8180    // Ensure everything closes
    8281    if (config) {
     
    8685        ppStackFileActivation(config, PPSTACK_FILES_UNCONV, true);
    8786        ppStackFileActivation(config, PPSTACK_FILES_PHOT, true);
     87        ppStackFileActivation(config, PPSTACK_FILES_MEDIAN_IN, true);
     88        ppStackFileActivation(config, PPSTACK_FILES_MEDIAN_OUT, true);
    8889        if (!ppStackFilesIterateUp(config)) {
    8990            psError(psErrorCodeLast(), false, "Unable to close files.");
  • branches/czw_branch/20120906/ppStack/src/ppStackCombinePrepare.c

    r34667 r34678  
    2929    if (expName) {
    3030      pmCell *expCell = pmFPAfileThisCell(config->files, view, expName); // Exposure cell
    31       options->expRO = pmReadoutAlloc(expCell); // Output readout
     31      options->expRO = pmReadoutAlloc(expCell); //Output readout
    3232    }
    33     else {
    34       options->expRO = NULL;
    35     }
     33/*     else { */
     34/*       options->expRO = NULL; */
     35/*     } */
    3636    pmCell *bkgCell;
    3737    int bkg_r0,bkg_c0;
  • branches/czw_branch/20120906/ppStack/src/ppStackFiles.c

    r34666 r34678  
    1919
    2020/// Files required for median only stacking
    21 static char *filesMedian[] =  { "PPSTACK.INPUT",                                                     
     21static char *filesMedianIn[] =  { "PPSTACK.INPUT",                                                           
    2222                              NULL };
    2323/// Files required for median only stacking
    24 static char *filesMinimal[] =  { "PPSTACK.OUTPUT",                                                           
     24static char *filesMedianOut[] =  { "PPSTACK.OUTPUT",                                                         
    2525                              NULL };
    2626
     
    5353      case PPSTACK_FILES_PHOT:     return filesPhot;
    5454    case PPSTACK_FILES_BKG:        return filesBkg;
    55     case PPSTACK_FILES_MEDIAN:        return filesMedian;
    56     case PPSTACK_FILES_MINIMAL:        return filesMinimal;
     55    case PPSTACK_FILES_MEDIAN_IN:        return filesMedianIn;
     56    case PPSTACK_FILES_MEDIAN_OUT:        return filesMedianOut;
    5757      default:
    5858        psAbort("Unrecognised file list: %x", list);
Note: See TracChangeset for help on using the changeset viewer.