Changeset 17819 for trunk/ppSub/src/ppSubCamera.c
- Timestamp:
- May 28, 2008, 8:20:44 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/ppSub/src/ppSubCamera.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ppSub/src/ppSubCamera.c
r17813 r17819 142 142 return false; 143 143 } 144 if ( input->type != PM_FPA_FILE_IMAGE) {144 if (psphot->type != PM_FPA_FILE_IMAGE) { 145 145 psError(PS_ERR_IO, true, "PSPHOT.INPUT is not of type IMAGE"); 146 146 return false; … … 151 151 return false; 152 152 } 153 154 // Internal-ish file for getting the PSF from the matched addition 155 pmFPAfile *psf = pmFPAfileDefineSkycell(config, output->fpa, "PSPHOT.PSF.LOAD"); 156 if (!psf) { 157 psError(PS_ERR_IO, false, "Failed to build FPA from PSPHOT.PSF.LOAD"); 158 return false; 159 } 160 if (psf->type != PM_FPA_FILE_PSF) { 161 psError(PS_ERR_IO, true, "PSPHOT.PSF.LOAD is not of type PSF"); 162 return false; 163 } 164 pmFPAfileActivate(config->files, false, "PSPHOT.PSF.LOAD"); 165 153 166 } 154 167
Note:
See TracChangeset
for help on using the changeset viewer.
