Changeset 7241 for trunk/psModules/src/camera/pmHDU.c
- Timestamp:
- May 26, 2006, 5:22:12 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/camera/pmHDU.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/camera/pmHDU.c
r7238 r7241 186 186 187 187 // Only a header 188 if (!hdu->images && !hdu->table) { 189 #if 0 190 // Tell CFITSIO there's nothing there 191 psMetadataItem *naxis = psMetadataLookup(hdu->header, "NAXIS"); 192 if (naxis) { 193 naxis->data.S32 = 0; 194 } 195 #endif 196 197 if (!psFitsWriteHeader(fits, hdu->header)) { 198 psError(PS_ERR_IO, false, "Unable to write header for extension %s\n", extname); 199 } 188 if (!hdu->images && !hdu->table && !psFitsWriteBlank(fits, hdu->header)) { 189 psError(PS_ERR_IO, false, "Unable to write header for extension %s\n", extname); 200 190 } 201 191
Note:
See TracChangeset
for help on using the changeset viewer.
