IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2008, 1:00:32 PM (18 years ago)
Author:
Paul Price
Message:

Read functions for readouts need to take a database handle so they can read the concepts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeFiles.c

    r17227 r18030  
    3434{
    3535    pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT", num);
    36     if (!pmReadoutReadChunk(readout, file->fits, 0, rows, 0)) {
     36    if (!pmReadoutReadChunk(readout, file->fits, 0, rows, 0, config->database)) {
    3737        psError(PS_ERR_UNKNOWN, false, "Unable to read readout.");
    3838        return false;
     
    4141    if (psMetadataLookupBool(&mdok, config->arguments, "INPUTS.MASKS")) {
    4242        pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT.MASK", num);
    43         if (!pmReadoutReadChunkMask(readout, file->fits, 0, rows, 0)) {
     43        if (!pmReadoutReadChunkMask(readout, file->fits, 0, rows, 0, config->database)) {
    4444            psError(PS_ERR_UNKNOWN, false, "Unable to read readout mask.");
    4545            return false;
     
    4848    if (psMetadataLookupBool(&mdok, config->arguments, "INPUTS.WEIGHTS")) {
    4949        pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT.WEIGHT", num);
    50         if (!pmReadoutReadChunkWeight(readout, file->fits, 0, rows, 0)) {
     50        if (!pmReadoutReadChunkWeight(readout, file->fits, 0, rows, 0, config->database)) {
    5151            psError(PS_ERR_UNKNOWN, false, "Unable to read readout weight.");
    5252            return false;
Note: See TracChangeset for help on using the changeset viewer.