IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 6519


Ignore:
Timestamp:
Mar 3, 2006, 5:05:57 PM (20 years ago)
Author:
Paul Price
Message:

No errors when we can't find the HDU.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/rel10_ifa/psModules/src/astrom/pmHDU.c

    r6517 r6519  
    117117                   )
    118118{
    119     pmHDU *hdu = fpa->hdu;              // The HDU information
    120     if (!hdu) {
    121         psError(PS_ERR_IO, true, "Unable to find HDU in chip.\n");
    122         return NULL;
    123     }
    124 
    125     return hdu;
     119    return fpa->hdu;
    126120}
    127121
     
    131125    pmHDU *hdu = chip->hdu;             // The HDU information
    132126    if (!hdu) {
    133         // Grab HDU info from the FPA
    134         hdu = pmHDUFromFPA(chip->parent);
    135         if (!hdu) {
    136             psError(PS_ERR_IO, true, "Unable to find HDU in chip.\n");
    137             return NULL;
    138         }
     127        hdu = pmHDUFromFPA(chip->parent); // Grab HDU info from the FPA
    139128    }
    140129
     
    147136    pmHDU *hdu = cell->hdu;             // The HDU information
    148137    if (!hdu) {
    149         // Grab HDU info from the chip
    150         hdu = pmHDUFromChip(cell->parent);
    151         if (!hdu) {
    152             psError(PS_ERR_IO, true, "Unable to find HDU in cell.\n");
    153             return NULL;
    154         }
     138        hdu = pmHDUFromChip(cell->parent); // Grab HDU info from the chip
    155139    }
    156140
Note: See TracChangeset for help on using the changeset viewer.