Changeset 27004 for trunk/ppStack/src/ppStackPhotometry.c
- Timestamp:
- Feb 18, 2010, 6:42:01 PM (16 years ago)
- Location:
- trunk/ppStack/src
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStackPhotometry.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppStack/src
- Property svn:ignore
-
old new 10 10 stamp-h1 11 11 ppStackVersionDefinitions.h 12 ppStackErrorCodes.c 13 ppStackErrorCodes.h
-
- Property svn:ignore
-
trunk/ppStack/src/ppStackPhotometry.c
r26928 r27004 61 61 psArray *inSources = options->sources; 62 62 if (!inSources) { 63 psError(P S_ERR_UNKNOWN, false, "Unable to find input sources");63 psError(PPSTACK_ERR_PROG, false, "Unable to find input sources"); 64 64 psFree(photView); 65 65 return false; … … 83 83 !pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL.STDEV") || 84 84 !pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND")) { 85 psError(P S_ERR_UNKNOWN, false, "Unable to drop PSPHOT internal files.");85 psError(PPSTACK_ERR_PROG, false, "Unable to drop PSPHOT internal files."); 86 86 return false; 87 87 } … … 92 92 pmReadout *photRO = pmFPAviewThisReadout(photView, photFile->fpa); // Readout with the sources 93 93 pmDetections *detections = psMetadataLookupPtr(NULL, photRO->analysis, "PSPHOT.DETECTIONS"); // detections 94 if (detections) { 95 psAssert (detections->allSources, "missing sources?"); 94 if (detections && detections->allSources) { 96 95 psMetadataAddS32(options->stats, PS_LIST_TAIL, "NUM_SOURCES", 0, "Number of sources detected", detections->allSources->n); 97 96 } else {
Note:
See TracChangeset
for help on using the changeset viewer.
