IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 29, 2006, 4:29:59 PM (20 years ago)
Author:
magnier
Message:

adding EXTNAME to psFitsWriteBlank

Location:
trunk/psModules/src/camera
Files:
2 edited

Legend:

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

    r8815 r9067  
    157157            }
    158158            psMetadataAdd (outhead, PS_LIST_TAIL, "EXTEND", PS_DATA_BOOL | PS_META_REPLACE, "this file has extensions", true);
    159             psFitsWriteBlank (file->fits, outhead);
     159            psFitsWriteBlank (file->fits, outhead, "");
    160160            file->phu = phu->header;
    161161            psTrace ("pmFPAfile", 5, "wrote phu %s (type: %d)\n", file->filename, file->type);
  • trunk/psModules/src/camera/pmHDU.c

    r8848 r9067  
    184184
    185185    // Only a header
    186     if (!hdu->images && !hdu->table && !psFitsWriteBlank(fits, hdu->header)) {
     186    if (!hdu->images && !hdu->table && !psFitsWriteBlank(fits, hdu->header, extname)) {
    187187        psError(PS_ERR_IO, false, "Unable to write header for extension %s\n", extname);
    188188    }
Note: See TracChangeset for help on using the changeset viewer.