IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 22, 2007, 5:18:57 PM (19 years ago)
Author:
magnier
Message:

minor changes

File:
1 edited

Legend:

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

    r10728 r11244  
    283283        psString name = specItem->name; // The concept name
    284284        psMetadataItem *headerItem = NULL; // The value of the concept from the header
     285
    285286        // First check the cell configuration
    286287        if (cell && cell->config) {
     
    302303            }
    303304        }
     305
    304306        if (! headerItem) {
    305307            psString keywords = psMetadataLookupStr(&mdok, transSpec, name); // The FITS keywords
     
    337339
    338340        // This will also clean up the name
    339         if (headerItem && !conceptParse(spec, headerItem, cameraFormat, target, fpa, chip, cell)) {
    340             psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to parse concept %s from header.\n", name);
    341             status = false;
     341        if (headerItem) {
     342            if (!conceptParse(spec, headerItem, cameraFormat, target, fpa, chip, cell)) {
     343                psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to parse concept %s from header.\n", name);
     344                status = false;
     345            }
    342346        }
    343347        psFree(headerItem);
Note: See TracChangeset for help on using the changeset viewer.