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