IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12662


Ignore:
Timestamp:
Mar 28, 2007, 4:50:40 PM (19 years ago)
Author:
Paul Price
Message:

Need conceptsRead to return without modifying the list of what's read
if there's no HDU available --- the reading functions silently return
true if there's no HDU, leading to modification of what's been read,
so that if we stick an HDU in later, it won't read.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConcepts.c

    r12659 r12662  
    203203    }
    204204
     205    pmHDU *hdu = pmHDUGetLowest(fpa, chip, cell); // Any HDU, required for the format
     206    if (!hdu) {
     207        // Can't do anything --- don't record any success, but don't return an error either
     208        return true;
     209    }
     210
    205211    bool success = true;                // Success in reading concepts?
    206212    if (source & PM_CONCEPT_SOURCE_CELLS && !(*read & PM_CONCEPT_SOURCE_CELLS) && cell) {
Note: See TracChangeset for help on using the changeset viewer.