IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12543


Ignore:
Timestamp:
Mar 22, 2007, 8:06:37 AM (19 years ago)
Author:
magnier
Message:

not an error if no sources are found

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO.c

    r12481 r12543  
    33 *  @author EAM, IfA
    44 *
    5  *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    6  *  @date $Date: 2007-03-18 22:03:08 $
     5 *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     6 *  @date $Date: 2007-03-22 18:06:37 $
    77 *
    88 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    164164}
    165165
    166 // read in all readout-level Objects files for this cell
     166// write out all readout-level Objects files for this cell
    167167bool pmReadoutWriteObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
    168168{
     
    179179    psMetadata *outhead;
    180180
     181    // XXX if sources is NULL, skip the cell or write out empty tables?
    181182    psArray *sources = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.SOURCES");
    182183    if (sources == NULL)
    183         return false;
     184        return true;
    184185
    185186    bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;
Note: See TracChangeset for help on using the changeset viewer.