- Timestamp:
- Jun 7, 2014, 5:40:37 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20140423/psModules/src/objects/pmSourceIO.c
r36623 r36829 1202 1202 break; 1203 1203 1204 case PM_FPA_FILE_CFF: 1204 case PM_FPA_FILE_CFF: { 1205 // determine the output table format 1206 psMetadata *recipe = psMetadataLookupMetadata(&status, config->recipes, "PSPHOT"); 1207 if (!status) { 1208 psError(PS_ERR_UNKNOWN, true, "missing recipe PSPHOT in config data"); 1209 return false; 1210 } 1205 1211 // read in header, if not yet loaded 1206 1212 hdu = pmFPAviewThisHDU (view, file->fpa); … … 1244 1250 } 1245 1251 1246 sources = pmSourcesRead_CFF(file->fits, hdu->header );1252 sources = pmSourcesRead_CFF(file->fits, hdu->header, recipe); 1247 1253 1248 1254 psTrace("psModules.objects", 6, "read CMF table from %s : %s : %s", file->filename, headname, dataname); … … 1250 1256 psFree (dataname); 1251 1257 psFree (tableHeader); 1258 } 1252 1259 break; 1253 1260
Note:
See TracChangeset
for help on using the changeset viewer.
