IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 9609


Ignore:
Timestamp:
Oct 16, 2006, 5:43:51 PM (20 years ago)
Author:
Paul Price
Message:

Not dealing with FITS tables here.

File:
1 edited

Legend:

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

    r9604 r9609  
    132132    psTrace("psModules.camera", 7, "Writing HDU %s\n", hdu->extname);
    133133
    134     if (hdu->images && hdu->table && !hdu->header) {
     134    if (hdu->images && !hdu->header) {
    135135        psError(PS_ERR_IO, true, "Both image and table data provided in HDU, but no header --- "
    136136                "don't know which to write!\n");
     
    138138    }
    139139
    140     if (!hdu->images && !hdu->table && !hdu->header) {
     140    if (!hdu->images && !hdu->header) {
    141141        psLogMsg(__func__, PS_LOG_WARN, "Nothing to write for HDU %s\n", hdu->extname);
    142142        return false;
     
    154154
    155155    // Only a header
    156     if (!hdu->images && !hdu->table && !psFitsWriteBlank(fits, hdu->header, extname)) {
     156    if (!hdu->images && !psFitsWriteBlank(fits, hdu->header, extname)) {
    157157        psError(PS_ERR_IO, false, "Unable to write header for extension %s\n", extname);
    158158    }
Note: See TracChangeset for help on using the changeset viewer.