Index: trunk/psModules/src/objects/pmSourceIO.c
===================================================================
--- trunk/psModules/src/objects/pmSourceIO.c	(revision 12481)
+++ trunk/psModules/src/objects/pmSourceIO.c	(revision 12543)
@@ -3,6 +3,6 @@
  *  @author EAM, IfA
  *
- *  @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2007-03-18 22:03:08 $
+ *  @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-03-22 18:06:37 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -164,5 +164,5 @@
 }
 
-// read in all readout-level Objects files for this cell
+// write out all readout-level Objects files for this cell
 bool pmReadoutWriteObjects (pmReadout *readout, const pmFPAview *view, pmFPAfile *file, pmConfig *config)
 {
@@ -179,7 +179,8 @@
     psMetadata *outhead;
 
+    // XXX if sources is NULL, skip the cell or write out empty tables?
     psArray *sources = psMetadataLookupPtr (&status, readout->analysis, "PSPHOT.SOURCES");
     if (sources == NULL)
-        return false;
+        return true;
 
     bool create = file->mode == PM_FPA_MODE_WRITE ? true : false;
