Changeset 29937 for trunk/ppSub/src/ppSubMakePSF.c
- Timestamp:
- Dec 5, 2010, 9:45:46 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubMakePSF.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubMakePSF.c
r28049 r29937 35 35 36 36 psTimerStart("PPSUB_PHOT"); 37 38 psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSUB_RECIPE); // Recipe for ppSub39 psAssert(recipe, "We checked this earlier, so it should be here.");40 41 if (!psMetadataLookupBool(NULL, recipe, "PHOTOMETRY")) {42 return true;43 }44 37 45 38 bool reverse = psMetadataLookupBool(NULL, config->arguments, "REVERSE"); // Reverse sense of subtraction? … … 93 86 // use flags to toss totally bogus entries? 94 87 psArray *goodSources = ppSubSelectPSFSources (sources); 95 if (!psphotReadoutFindPSF(config, view, goodSources)) {88 if (!psphotReadoutFindPSF(config, view, "PSPHOT.INPUT", goodSources)) { 96 89 // This is likely a data quality issue 97 90 // XXX Split into multiple cases using error codes?
Note:
See TracChangeset
for help on using the changeset viewer.
