Index: /tags/ipp-20120531/psphot/src/psphotAddNoise.c
===================================================================
--- /tags/ipp-20120531/psphot/src/psphotAddNoise.c	(revision 33980)
+++ /tags/ipp-20120531/psphot/src/psphotAddNoise.c	(revision 33981)
@@ -47,5 +47,7 @@
 
     psArray *sources = detections->allSources;
-    psAssert (sources, "missing sources?");
+    //psAssert (sources, "missing sources?");
+    // if no work, should just return true
+    if (!sources) return true;
 
     psTimerStart ("psphot.noise");
Index: /tags/ipp-20120531/psphot/src/psphotReplaceUnfit.c
===================================================================
--- /tags/ipp-20120531/psphot/src/psphotReplaceUnfit.c	(revision 33980)
+++ /tags/ipp-20120531/psphot/src/psphotReplaceUnfit.c	(revision 33981)
@@ -60,5 +60,6 @@
 
     psArray *sources = detections->allSources;
-    psAssert (sources, "missing sources?");
+    //psAssert (sources, "missing sources?");
+    if (!sources) return true;
 
     // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
@@ -139,6 +140,7 @@
 
     psArray *sources = detections->allSources;
-    psAssert (sources, "missing sources?");
-
+    //psAssert (sources, "missing sources?");
+    if (!sources) return true;
+    
     // user-defined masks to test for good/bad pixels (build from recipe list if not yet set)
     psImageMaskType maskVal = psMetadataLookupImageMask(&status, recipe, "MASK.PSPHOT"); // Mask value for bad pixels
