Changeset 18166 for trunk/ppMerge/src/ppMergeFiles.c
- Timestamp:
- Jun 17, 2008, 12:25:38 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppMerge/src/ppMergeFiles.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppMerge/src/ppMergeFiles.c
r18030 r18166 31 31 } 32 32 33 bool ppMergeFileReadInput( constpmConfig *config, pmReadout *readout, int num, int rows)33 bool ppMergeFileReadInput(pmConfig *config, pmReadout *readout, int num, int rows) 34 34 { 35 35 pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT", num); 36 if (!pmReadoutReadChunk(readout, file->fits, 0, rows, 0, config ->database)) {36 if (!pmReadoutReadChunk(readout, file->fits, 0, rows, 0, config)) { 37 37 psError(PS_ERR_UNKNOWN, false, "Unable to read readout."); 38 38 return false; … … 41 41 if (psMetadataLookupBool(&mdok, config->arguments, "INPUTS.MASKS")) { 42 42 pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT.MASK", num); 43 if (!pmReadoutReadChunkMask(readout, file->fits, 0, rows, 0, config ->database)) {43 if (!pmReadoutReadChunkMask(readout, file->fits, 0, rows, 0, config)) { 44 44 psError(PS_ERR_UNKNOWN, false, "Unable to read readout mask."); 45 45 return false; … … 48 48 if (psMetadataLookupBool(&mdok, config->arguments, "INPUTS.WEIGHTS")) { 49 49 pmFPAfile *file = pmFPAfileSelectSingle(config->files, "PPMERGE.INPUT.WEIGHT", num); 50 if (!pmReadoutReadChunkWeight(readout, file->fits, 0, rows, 0, config ->database)) {50 if (!pmReadoutReadChunkWeight(readout, file->fits, 0, rows, 0, config)) { 51 51 psError(PS_ERR_UNKNOWN, false, "Unable to read readout weight."); 52 52 return false;
Note:
See TracChangeset
for help on using the changeset viewer.
