IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 13841


Ignore:
Timestamp:
Jun 14, 2007, 4:50:54 PM (19 years ago)
Author:
magnier
Message:

only write out image data if data exists

File:
1 edited

Legend:

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

    r12705 r13841  
    124124
    125125    pmHDU *hdu = cell->hdu;             // The HDU
    126     if (!hdu) {
     126    if (!hdu || !cell->data_exists) {
    127127        return true;                    // We wrote every HDU that exists
    128128    }
     
    177177
    178178    // If we have data at this level, try to write it out
    179     if (hdu) {
     179    if (hdu && chip->data_exists) {
    180180        psArray **imageArray = appropriateImageArray(hdu, type); // Array of images in HDU
    181181
Note: See TracChangeset for help on using the changeset viewer.