IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 23, 2007, 12:47:38 PM (19 years ago)
Author:
eugene
Message:

fixed error with CameraValidateConfig

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppMerge/src/ppMergeCheckInputs.c

    r9831 r11249  
    8282                continue;
    8383            }
    84         } else if (!pmConfigValidateCameraFormat(options->format, header)) {
    85             psLogMsg(__func__, PS_LOG_WARN, "Input file %s doesn't match camera format --- ignored.\n", name);
    86             // Kick it out
    87             psFree(header);
    88             data->in->data[i] = NULL;
    89             continue;
     84        } else {
     85          bool valid = false;
     86          if (!pmConfigValidateCameraFormat(&valid, options->format, header)) {
     87            psError (PS_ERR_UNKNOWN, false, "Error in config scripts\n");
     88            exit (PS_EXIT_CONFIG_ERROR);
     89          }
     90          if (!valid) {
     91            psLogMsg(__func__, PS_LOG_WARN, "Input file %s doesn't match camera format --- ignored.\n", name);
     92            // Kick it out
     93            psFree(header);
     94            data->in->data[i] = NULL;
     95            continue;
     96          }
    9097        }
    9198
Note: See TracChangeset for help on using the changeset viewer.