IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2008, 1:09:01 PM (18 years ago)
Author:
Paul Price
Message:

File I/O problems --- was getting outCell->readouts->n == 1 but
outCell->readouts->data[0] == NULL. Turns out I was freeing outRO an
extra time.
Also massaged the file activations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/pap_branch_080320/ppMerge/src/ppMergeMask.c

    r17176 r17178  
    246246        }
    247247
    248         outRO->data_exists = outCell->data_exists = outChip->data_exists = true;
    249 
    250248        if (writeOut) {
    251249            if (!pmFPAfileIOChecks(config, outView, PM_FPA_BEFORE)) {
     
    253251                goto MERGE_MASK_ERROR;
    254252            }
     253
     254            outRO->data_exists = outCell->data_exists = outChip->data_exists = true;
    255255
    256256            // Average concepts
     
    289289            }
    290290        }
    291         psFree(outRO);
    292291    }
    293292    psFree(outView);
     
    344343        goto PPMERGE_MASK_ERROR;
    345344    }
    346     if (!ppMergeFileActivate(config, PPMERGE_FILES_OUTPUT, false)) {
     345    if (!ppMergeFileActivate(config, PPMERGE_FILES_OUTPUT, true)) {
    347346        psError(PS_ERR_UNKNOWN, false, "Unable to activate files.");
    348347        goto PPMERGE_MASK_ERROR;
Note: See TracChangeset for help on using the changeset viewer.