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