Changeset 17061 for trunk/psastro/src/psastroDefineFiles.c
- Timestamp:
- Mar 19, 2008, 2:26:39 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/psastro/src/psastroDefineFiles.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psastro/src/psastroDefineFiles.c
r17039 r17061 41 41 if (saveRefstars) { 42 42 // look for the file in the camera config table 43 pmFPAfile *file = pmFPAfileDefine FromConf (&status, config, "PSASTRO.REFSTARS");44 if (! status) {43 pmFPAfile *file = pmFPAfileDefineOutputFromFile (config, input, "PSASTRO.OUT.REFSTARS"); 44 if (!file) { 45 45 psError (PS_ERR_IO, false, "Can't find the astrometry refstars file definition"); 46 46 return NULL; 47 47 } 48 48 if (file->type != PM_FPA_FILE_ASTROM_REFSTARS) { 49 psError(PS_ERR_IO, true, "%s is not of type %s", "PSASTRO. REFSTARS", pmFPAfileStringFromType (PM_FPA_FILE_ASTROM_REFSTARS));49 psError(PS_ERR_IO, true, "%s is not of type %s", "PSASTRO.OUT.REFSTARS", pmFPAfileStringFromType (PM_FPA_FILE_ASTROM_REFSTARS)); 50 50 return NULL; 51 51 } 52 file->save = true; 52 53 } 53 54
Note:
See TracChangeset
for help on using the changeset viewer.
