IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 24, 2007, 12:24:44 PM (19 years ago)
Author:
eugene
Message:

fixed error handling issues

File:
1 edited

Legend:

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

    r10855 r11269  
    5454
    5555    bool chipastro = psMetadataLookupBool (NULL, config->arguments, "PSASTRO.CHIP.MODE");
     56    bool mosastro  = psMetadataLookupBool (NULL, config->arguments, "PSASTRO.MOSAIC.MODE");
     57    if (!chipastro && !mosastro) {
     58        psLogMsg ("psastro", 3, "no astrometry mode selected, assuming chip mode\n");
     59        chipastro= true;
     60    }
     61
    5662    if (chipastro) {
    5763        if (!psastroChipAstrom (config, refs)) {
     
    6167    }
    6268
    63     bool mosastro = psMetadataLookupBool (NULL, config->arguments, "PSASTRO.MOSAIC.MODE");
    6469    if (mosastro) {
    6570        if (!psastroMosaicAstrom (config, refs)) {
Note: See TracChangeset for help on using the changeset viewer.