IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

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

Treat the database like a header --- read it for "concepts" whenever we read the header.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPARead.c

    r17182 r18026  
    9898    }
    9999    if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    100                             PM_CONCEPT_SOURCE_DEFAULTS, true, NULL)) {
     100                            PM_CONCEPT_SOURCE_DEFAULTS | PM_CONCEPT_SOURCE_DATABASE, true, NULL)) {
    101101        psError(PS_ERR_IO, false, "Failed to read concepts for cell.\n");
    102102        return false;
     
    570570
    571571    // load in the concept information for this cell
    572     if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER, true, NULL)) {
     572    if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_DATABASE, true, NULL)) {
    573573        //psError(PS_ERR_UNKNOWN, false, "Failed to read concepts for cell");
    574574        //return false;
     
    659659    }
    660660    if (success) {
    661         if (!pmConceptsReadChip(chip, PM_CONCEPT_SOURCE_HEADER, true, true, NULL)) {
     661        if (!pmConceptsReadChip(chip, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_DATABASE,
     662                                true, true, NULL)) {
    662663            psError(PS_ERR_IO, false, "Failed to read concepts for chip.\n");
    663664            return false;
     
    689690    }
    690691    if (success) {
    691         if (!pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_HEADER, true, NULL)) {
     692        if (!pmConceptsReadFPA(fpa, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_DATABASE, true, NULL)) {
    692693            psError(PS_ERR_IO, false, "Failed to read concepts for FPA.\n");
    693694            return false;
     
    739740    // Make sure we have the information we need
    740741    if (!pmConceptsReadCell(cell, PM_CONCEPT_SOURCE_HEADER | PM_CONCEPT_SOURCE_CELLS |
    741                             PM_CONCEPT_SOURCE_DEFAULTS, true, NULL)) {
     742                            PM_CONCEPT_SOURCE_DEFAULTS | PM_CONCEPT_SOURCE_DATABASE, true, NULL)) {
    742743        psError(PS_ERR_IO, false, "Failed to read concepts for cell.\n");
    743744        return false;
Note: See TracChangeset for help on using the changeset viewer.