IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15676


Ignore:
Timestamp:
Nov 21, 2007, 2:01:10 AM (18 years ago)
Author:
eugene
Message:

handle missing chips

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/astrom/pmAstrometryTable.c

    r15675 r15676  
    88 *  @author EAM, IfA
    99 *
    10  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    11  *  @date $Date: 2007-11-21 09:59:40 $
     10 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     11 *  @date $Date: 2007-11-21 12:01:10 $
    1212 *
    1313 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    230230    if (!psFitsWriteTable (file->fits, header, table, "TP")) {
    231231        psError(PS_ERR_IO, false, "writing sky data\n");
    232         psFree(table);
     232        psFree (region);
     233        psFree (table);
     234        psFree (header);
    233235        return false;
    234236    }
     
    284286    psFree (table);
    285287    psFree (header);
     288    psFree (region);
    286289    return true;
    287290}
     
    303306    while ((chip = pmFPAviewNextChip (view, file->fpa, 1)) != NULL) {
    304307
     308        if (!chip->toFPA) continue;
     309        assert (chip->toFPA->x);
     310        assert (chip->toFPA->y);
     311     
    305312        psRegion *region = pmChipPixels (chip);
    306313
Note: See TracChangeset for help on using the changeset viewer.