IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17061


Ignore:
Timestamp:
Mar 19, 2008, 2:26:39 PM (18 years ago)
Author:
eugene
Message:

changed names to match usage (PSASTRO.OUT.REFSTARS)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDefineFiles.c

    r17039 r17061  
    4141    if (saveRefstars) {
    4242        // look for the file in the camera config table
    43         pmFPAfile *file = pmFPAfileDefineFromConf  (&status, config, "PSASTRO.REFSTARS");
    44         if (!status) {
     43        pmFPAfile *file = pmFPAfileDefineOutputFromFile  (config, input, "PSASTRO.OUT.REFSTARS");
     44        if (!file) {
    4545            psError (PS_ERR_IO, false, "Can't find the astrometry refstars file definition");
    4646            return NULL;
    4747        }
    4848        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));
    5050            return NULL;
    5151        }
     52        file->save = true;
    5253    }
    5354
Note: See TracChangeset for help on using the changeset viewer.