Changeset 9574 for trunk/psastro/src/psastroMosaicHeaders.c
- Timestamp:
- Oct 13, 2006, 5:10:34 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroMosaicHeaders.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroMosaicHeaders.c
r9374 r9574 9 9 psMetadata *recipe = psMetadataLookupPtr (NULL, config->recipes, "PSASTRO"); 10 10 if (!recipe) { 11 psErrorStackPrint(stderr, "Can't find PSASTRO recipe!\n");12 exit(EXIT_FAILURE);11 psError(PSASTRO_ERR_CONFIG, true, "Can't find PSASTRO recipe!\n"); 12 return false; 13 13 } 14 14 15 15 16 // select the input data sources 16 17 pmFPAfile *input = psMetadataLookupPtr (NULL, config->files, "PSASTRO.INPUT"); 17 18 if (!input) { 18 psErrorStackPrint(stderr, "Can't find input data!\n");19 exit(EXIT_FAILURE);19 psError(PSASTRO_ERR_CONFIG, true, "Can't find input data!\n"); 20 return false; 20 21 } 21 22 … … 29 30 30 31 while ((chip = pmFPAviewNextChip (view, fpa, 1)) != NULL) { 31 psTrace ( __func__, 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process);32 psTrace ("psastro", 4, "Chip %d: %x %x\n", view->chip, chip->file_exists, chip->process); 32 33 if (!chip->process || !chip->file_exists) { continue; } 33 34
Note:
See TracChangeset
for help on using the changeset viewer.
