Changeset 15891 for trunk/psastro/src/psastroAnalysis.c
- Timestamp:
- Dec 22, 2007, 7:42:46 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroAnalysis.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroAnalysis.c
r15562 r15891 5 5 bool status; 6 6 int nStars; 7 8 // select the current recipe 9 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSASTRO_RECIPE); 10 if (!recipe) { 11 psError(PSASTRO_ERR_CONFIG, true, "Can't find PSASTRO recipe"); 12 return false; 13 } 14 15 if (!psastroUseModel (config, recipe)) { 16 psError (PSASTRO_ERR_UNKNOWN, false, "failed to set model astrometry\n"); 17 return false; 18 } 7 19 8 20 // interpret the available initial astrometric information … … 26 38 if (!psastroChooseRefstars (config, refs)) { 27 39 psError (PSASTRO_ERR_UNKNOWN, false, "failed to select reference data for chips\n"); 28 return false;29 }30 31 // select the current recipe32 psMetadata *recipe = psMetadataLookupPtr (&status, config->recipes, PSASTRO_RECIPE);33 if (!recipe) {34 psError(PSASTRO_ERR_CONFIG, true, "Can't find PSASTRO recipe");35 40 return false; 36 41 }
Note:
See TracChangeset
for help on using the changeset viewer.
